#242086#242086
#242086 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.162 H 274.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #242086 |
|---|---|
| RGB | rgb(36, 32, 134) |
| HSL | hsl(242, 61%, 33%) |
| HSV | hsv(242, 76%, 53%) |
| CMYK | cmyk(73.1%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.55, 36.38, -55.85) |
| CIE-LCH | lch(20.55, 66.65, 303.08°) |
| OKLab | oklab(33.07% 0.0131 -0.1615) |
| OKLCH | oklch(33.07% 0.162 274.6) |
| XYZ | xyz(5.5457, 3.1288, 22.8613) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.06
Midnight Blue
#191970
ΔE00 3.75
Cobalt Blue
#030AA7
ΔE00 5.85
Darkblue
#00008B
ΔE00 5.85
Indigo (survey)
#380282
ΔE00 5.91
Navy
#000080
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242086 #828620
analogous
#204F86 #242086 #572086
triadic
#242086 #862420 #208624
tetradic
#242086 #86204F #828620 #208657
square
#242086 #86204F #828620 #208657
split-complementary
#242086 #865720 #4F8620
monochromatic
#090823 #171455 #242086 #312CB7 #514CD4
Accessibility & contrast
On white
12.92
#242086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#242086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242086
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242086 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #242086; /* rgb */ color: rgb(36, 32, 134); /* oklch */ color: oklch(33.1% 0.162 274.6);
Tailwind
colors: {
custom: {
50: '#6f5daa',
500: '#242086',
950: '#000000',
},
}SCSS
$custom: #242086; $custom-light: #6f5daa; $custom-dark: #000000;
JSON
{
"hex": "#242086",
"rgb": {
"r": 36,
"g": 32,
"b": 134
},
"hsl": {
"h": 242.353,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.3307,
"c": 0.16204,
"h": 274.6
},
"luminance": 0.03129
}Semantic roles & 50–950 ramp
primary
#242086
secondary
#B3B74B
accent
#E543DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F