#242EAF#242EAF
#242EAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.199 H 269.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #242EAF |
|---|---|
| RGB | rgb(36, 46, 175) |
| HSL | hsl(236, 66%, 41%) |
| HSV | hsv(236, 79%, 69%) |
| CMYK | cmyk(79.4%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(27.91, 42.29, -68.84) |
| CIE-LCH | lch(27.91, 80.79, 301.57°) |
| OKLab | oklab(39.62% -0.0003 -0.1994) |
| OKLCH | oklch(39.62% 0.199 269.9) |
| XYZ | xyz(9.4398, 5.4231, 41.0984) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Indigo Blue
#3A18B1
ΔE00 5.00
True Blue
#010FCC
ΔE00 5.88
Blue Blue
#2242C7
ΔE00 6.22
Royal
#0C1793
ΔE00 6.55
Ocean Blue
#4F42B5
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242EAF #AFA524
analogous
#2474AF #242EAF #5F24AF
triadic
#242EAF #AF242E #2EAF24
tetradic
#242EAF #AF2474 #AFA524 #24AF5F
square
#242EAF #AF2474 #AFA524 #24AF5F
split-complementary
#242EAF #AF5F24 #74AF24
monochromatic
#0F1349 #1A217C #242EAF #3A45D6 #6D75E1
Accessibility & contrast
On white
10.07
#242EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#242EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242EAF
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242EAF | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #242eaf; /* rgb */ color: rgb(36, 46, 175); /* oklch */ color: oklch(39.6% 0.199 269.9);
Tailwind
colors: {
custom: {
50: '#7868c8',
500: '#242eaf',
950: '#000000',
},
}SCSS
$custom: #242eaf; $custom-light: #7868c8; $custom-dark: #000000;
JSON
{
"hex": "#242eaf",
"rgb": {
"r": 36,
"g": 46,
"b": 175
},
"hsl": {
"h": 235.683,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.39615,
"c": 0.19939,
"h": 269.9
},
"luminance": 0.05424
}Semantic roles & 50–950 ramp
primary
#242EAF
secondary
#C7C068
accent
#DD3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82