#242A74#242A74
#242A74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.125 H 273.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #242A74 |
|---|---|
| RGB | rgb(36, 42, 116) |
| HSL | hsl(236, 53%, 30%) |
| HSV | hsv(236, 69%, 45%) |
| CMYK | cmyk(69%, 63.8%, 0%, 54.5%) |
| CIE-LAB | lab(21.18, 23.37, -43.40) |
| CIE-LCH | lch(21.18, 49.30, 298.30°) |
| OKLab | oklab(32.98% 0.0082 -0.1251) |
| OKLCH | oklch(32.98% 0.125 273.7) |
| XYZ | xyz(4.7069, 3.2915, 16.9069) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.86
Marine
#042E60
ΔE00 6.81
Darkslateblue
#483D8B
ΔE00 7.46
Royal
#0C1793
ΔE00 7.54
Blueberry
#464196
ΔE00 8.49
Navy Blue
#1B2A4A
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242A74 #746E24
analogous
#245274 #242A74 #462474
triadic
#242A74 #74242A #2A7424
tetradic
#242A74 #742452 #746E24 #247446
square
#242A74 #742452 #746E24 #247446
split-complementary
#242A74 #744624 #527424
monochromatic
#070817 #161945 #242A74 #323BA3 #4B54C7
Accessibility & contrast
On white
12.66
#242A74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#242A74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242A74
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242A74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242A74 | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #242a74; /* rgb */ color: rgb(36, 42, 116); /* oklch */ color: oklch(33.0% 0.125 273.7);
Tailwind
colors: {
custom: {
50: '#6a639d',
500: '#242a74',
950: '#000000',
},
}SCSS
$custom: #242a74; $custom-light: #6a639d; $custom-dark: #000000;
JSON
{
"hex": "#242a74",
"rgb": {
"r": 36,
"g": 42,
"b": 116
},
"hsl": {
"h": 235.5,
"s": 52.632,
"l": 29.804
},
"oklch": {
"l": 0.32983,
"c": 0.12535,
"h": 273.7
},
"luminance": 0.03292
}Semantic roles & 50–950 ramp
primary
#242A74
secondary
#A7A04D
accent
#D14CDC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E