#241280#241280
#241280 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.167 H 277.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #241280 |
|---|---|
| RGB | rgb(36, 18, 128) |
| HSL | hsl(250, 75%, 29%) |
| HSV | hsv(250, 86%, 50%) |
| CMYK | cmyk(71.9%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(17.30, 41.78, -57.44) |
| CIE-LCH | lch(17.30, 71.02, 306.03°) |
| OKLab | oklab(30.59% 0.0214 -0.1659) |
| OKLCH | oklch(30.59% 0.167 277.3) |
| XYZ | xyz(4.8389, 2.3658, 20.6195) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.29
Indigo (survey)
#380282
ΔE00 3.42
Navy
#000080
ΔE00 3.52
Darkblue
#00008B
ΔE00 3.53
Midnight Blue
#191970
ΔE00 3.58
Deep Blue
#040273
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241280 #6E8012
analogous
#123780 #241280 #5B1280
triadic
#241280 #802412 #128024
tetradic
#241280 #801237 #6E8012 #12805B
square
#241280 #801237 #6E8012 #12805B
split-complementary
#241280 #805B12 #378012
monochromatic
#08041B #150A4A #241280 #331AB6 #492BE1
Accessibility & contrast
On white
14.25
#241280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#241280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241280
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241280 | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #241280; /* rgb */ color: rgb(36, 18, 128); /* oklch */ color: oklch(30.6% 0.167 277.3);
Tailwind
colors: {
custom: {
50: '#6f55a6',
500: '#241280',
950: '#000000',
},
}SCSS
$custom: #241280; $custom-light: #6f55a6; $custom-dark: #000000;
JSON
{
"hex": "#241280",
"rgb": {
"r": 36,
"g": 18,
"b": 128
},
"hsl": {
"h": 249.818,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.30593,
"c": 0.16731,
"h": 277.3
},
"luminance": 0.02366
}Semantic roles & 50–950 ramp
primary
#241280
secondary
#A1B638
accent
#F236D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F