#242AAF#242AAF
#242AAF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.203 H 270.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #242AAF |
|---|---|
| RGB | rgb(36, 42, 175) |
| HSL | hsl(237, 66%, 41%) |
| HSV | hsv(237, 79%, 69%) |
| CMYK | cmyk(79.4%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(27.09, 44.60, -70.19) |
| CIE-LCH | lch(27.09, 83.16, 302.43°) |
| OKLab | oklab(39.03% 0.0011 -0.2033) |
| OKLCH | oklch(39.03% 0.203 270.3) |
| XYZ | xyz(9.2907, 5.1251, 41.0487) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.98
Indigo Blue
#3A18B1
ΔE00 4.11
True Blue
#010FCC
ΔE00 5.11
Royal
#0C1793
ΔE00 5.84
Cobalt Blue
#030AA7
ΔE00 5.88
Mediumblue
#0000CD
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242AAF #AFA924
analogous
#2470AF #242AAF #6424AF
triadic
#242AAF #AF242A #2AAF24
tetradic
#242AAF #AF2470 #AFA924 #24AF64
square
#242AAF #AF2470 #AFA924 #24AF64
split-complementary
#242AAF #AF6424 #70AF24
monochromatic
#0F1249 #1A1E7C #242AAF #3A41D6 #6D72E1
Accessibility & contrast
On white
10.37
#242AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#242AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242AAF
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242AAF | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #242aaf; /* rgb */ color: rgb(36, 42, 175); /* oklch */ color: oklch(39.0% 0.203 270.3);
Tailwind
colors: {
custom: {
50: '#7865c8',
500: '#242aaf',
950: '#000000',
},
}SCSS
$custom: #242aaf; $custom-light: #7865c8; $custom-dark: #000000;
JSON
{
"hex": "#242aaf",
"rgb": {
"r": 36,
"g": 42,
"b": 175
},
"hsl": {
"h": 237.41,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.39032,
"c": 0.20329,
"h": 270.3
},
"luminance": 0.05126
}Semantic roles & 50–950 ramp
primary
#242AAF
secondary
#C7C368
accent
#E13FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82