HSL(278, 70%, 13%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,70%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 70%, 13%) | color: hsl(278, 70%, 13%) | |
| HEX | #270A38 | color: #270A38 | |
| RGB | rgb(39, 10, 56) | color: rgb(39, 10, 56) | |
| CMYK | cmyk(30%, 82%, 0%, 78%) | — | |
| HSV | hsv(278, 82%, 22%) | — | |
| HWB | hwb(278 4% 78%) | color: hwb(278 4% 78%) | |
| OKLCH | oklch(0.2214 0.0865 309.97) | color: oklch(0.2214 0.0865 309.97) | |
| Lab | lab(8.43 24.4 -23.43) | color: lab(8.43 24.4 -23.43) | |
| LCH | lch(8.43 33.83 316.16) | color: lch(8.43 33.83 316.16) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#1A1A2D — rgb(26, 26, 45)
Deuteranopia (Green-blind)
#1C1E2A — rgb(28, 30, 42)
Tritanopia (Blue-blind)
#262422 — rgb(38, 36, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 70%, 13%);
text
color: hsl(278, 70%, 13%);
border
border: 2px solid hsl(278, 70%, 13%);
gradient light
background: linear-gradient(to right, hsl(278, 70%, 33%), hsl(278, 70%, 13%));
gradient dark
background: linear-gradient(to right, hsl(278, 70%, 13%), hsl(278, 70%, 0%))
hex
background-color: #270A38;
tailwind
bg-[hsl(278,70%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 70%, 13%, 0.4);
css variable
--color-primary: hsl(278, 70%, 13%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 70%, 13%)?
HEX: #270A38 | RGB: rgb(39, 10, 56) | CMYK: 30%, 82%, 0%, 78% | HSV: 278°, 82%, 22%. Copy any format from the conversion table above.
What colors go well with #270A38?
The complementary color is HSL(98, 70%, 13%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 70%, 13%) in CSS?
As HSL: color: hsl(278, 70%, 13%); — As HEX: color: #270A38; — As RGB: color: rgb(39, 10, 56); — Tailwind CSS: bg-[hsl(278,70%,13%)] — CSS variable: --color-primary: hsl(278, 70%, 13%);