#242DAF#242DAF
#242DAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.200 H 270.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #242DAF |
|---|---|
| RGB | rgb(36, 45, 175) |
| HSL | hsl(236, 66%, 41%) |
| HSV | hsv(236, 79%, 69%) |
| CMYK | cmyk(79.4%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(27.70, 42.88, -69.18) |
| CIE-LCH | lch(27.70, 81.39, 301.79°) |
| OKLab | oklab(39.47% 0 -0.2004) |
| OKLCH | oklch(39.47% 0.2 270) |
| XYZ | xyz(9.4012, 5.3459, 41.0855) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.26
Indigo Blue
#3A18B1
ΔE00 4.76
True Blue
#010FCC
ΔE00 5.67
Royal
#0C1793
ΔE00 6.36
Blue Blue
#2242C7
ΔE00 6.44
Cobalt Blue
#030AA7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242DAF #AFA624
analogous
#2473AF #242DAF #6124AF
triadic
#242DAF #AF242D #2DAF24
tetradic
#242DAF #AF2473 #AFA624 #24AF61
square
#242DAF #AF2473 #AFA624 #24AF61
split-complementary
#242DAF #AF6124 #73AF24
monochromatic
#0F1349 #1A207C #242DAF #3A44D6 #6D74E1
Accessibility & contrast
On white
10.15
#242DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#242DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242DAF
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242DAF | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #242daf; /* rgb */ color: rgb(36, 45, 175); /* oklch */ color: oklch(39.5% 0.200 270.0);
Tailwind
colors: {
custom: {
50: '#7867c8',
500: '#242daf',
950: '#000000',
},
}SCSS
$custom: #242daf; $custom-light: #7867c8; $custom-dark: #000000;
JSON
{
"hex": "#242daf",
"rgb": {
"r": 36,
"g": 45,
"b": 175
},
"hsl": {
"h": 236.115,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.39465,
"c": 0.20039,
"h": 270
},
"luminance": 0.05347
}Semantic roles & 50–950 ramp
primary
#242DAF
secondary
#C7C168
accent
#DE3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82