#242185#242185
#242185 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.160 H 274.6°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #242185 |
|---|---|
| RGB | rgb(36, 33, 133) |
| HSL | hsl(242, 60%, 33%) |
| HSV | hsv(242, 75%, 52%) |
| CMYK | cmyk(72.9%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.66, 35.43, -55.05) |
| CIE-LCH | lch(20.66, 65.47, 302.77°) |
| OKLab | oklab(33.11% 0.0128 -0.1592) |
| OKLCH | oklch(33.11% 0.16 274.6) |
| XYZ | xyz(5.5036, 3.1557, 22.5048) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.34
Midnight Blue
#191970
ΔE00 3.68
Darkblue
#00008B
ΔE00 6.13
Cobalt Blue
#030AA7
ΔE00 6.14
Indigo (survey)
#380282
ΔE00 6.17
Navy
#000080
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242185 #828521
analogous
#215085 #242185 #562185
triadic
#242185 #852421 #218524
tetradic
#242185 #852150 #828521 #218556
square
#242185 #852150 #828521 #218556
split-complementary
#242185 #855621 #508521
monochromatic
#090923 #171554 #242185 #312DB6 #514DD3
Accessibility & contrast
On white
12.87
#242185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#242185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242185
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242185 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #242185; /* rgb */ color: rgb(36, 33, 133); /* oklch */ color: oklch(33.1% 0.160 274.6);
Tailwind
colors: {
custom: {
50: '#6f5eaa',
500: '#242185',
950: '#000000',
},
}SCSS
$custom: #242185; $custom-light: #6f5eaa; $custom-dark: #000000;
JSON
{
"hex": "#242185",
"rgb": {
"r": 36,
"g": 33,
"b": 133
},
"hsl": {
"h": 241.8,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.33112,
"c": 0.15969,
"h": 274.6
},
"luminance": 0.03156
}Semantic roles & 50–950 ramp
primary
#242185
secondary
#B3B64C
accent
#E344DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F