#242FAF#242FAF
#242FAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.198 H 269.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #242FAF |
|---|---|
| RGB | rgb(36, 47, 175) |
| HSL | hsl(235, 66%, 41%) |
| HSV | hsv(235, 79%, 69%) |
| CMYK | cmyk(79.4%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(28.12, 41.70, -68.49) |
| CIE-LCH | lch(28.12, 80.18, 301.34°) |
| OKLab | oklab(39.77% -0.0007 -0.1984) |
| OKLCH | oklch(39.77% 0.198 269.8) |
| XYZ | xyz(9.4793, 5.5022, 41.1116) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.76
Indigo Blue
#3A18B1
ΔE00 5.24
Blue Blue
#2242C7
ΔE00 6.01
True Blue
#010FCC
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.64
Royal
#0C1793
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242FAF #AFA424
analogous
#2475AF #242FAF #5F24AF
triadic
#242FAF #AF242F #2FAF24
tetradic
#242FAF #AF2475 #AFA424 #24AF5F
square
#242FAF #AF2475 #AFA424 #24AF5F
split-complementary
#242FAF #AF5F24 #75AF24
monochromatic
#0F1449 #1A217C #242FAF #3A46D6 #6D76E1
Accessibility & contrast
On white
10.00
#242FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#242FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242FAF
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242FAF | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #242faf; /* rgb */ color: rgb(36, 47, 175); /* oklch */ color: oklch(39.8% 0.198 269.8);
Tailwind
colors: {
custom: {
50: '#7868c8',
500: '#242faf',
950: '#000000',
},
}SCSS
$custom: #242faf; $custom-light: #7868c8; $custom-dark: #000000;
JSON
{
"hex": "#242faf",
"rgb": {
"r": 36,
"g": 47,
"b": 175
},
"hsl": {
"h": 235.252,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.39766,
"c": 0.19837,
"h": 269.8
},
"luminance": 0.05503
}Semantic roles & 50–950 ramp
primary
#242FAF
secondary
#C7C068
accent
#DB3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82