#242D99#242D99
#242D99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.173 H 271.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #242D99 |
|---|---|
| RGB | rgb(36, 45, 153) |
| HSL | hsl(235, 62%, 37%) |
| HSV | hsv(235, 76%, 60%) |
| CMYK | cmyk(76.5%, 70.6%, 0%, 40%) |
| CIE-LAB | lab(25.42, 35.12, -59.62) |
| CIE-LCH | lch(25.42, 69.20, 300.50°) |
| OKLab | oklab(37.15% 0.003 -0.1726) |
| OKLCH | oklch(37.15% 0.173 271) |
| XYZ | xyz(7.4138, 4.5510, 30.6185) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.83
Royal
#0C1793
ΔE00 5.31
Indigo Blue
#3A18B1
ΔE00 6.32
Blueberry
#464196
ΔE00 6.75
Cobalt Blue
#030AA7
ΔE00 6.97
Darkslateblue
#483D8B
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242D99 #999024
analogous
#246799 #242D99 #562499
triadic
#242D99 #99242D #2D9924
tetradic
#242D99 #992467 #999024 #249956
square
#242D99 #992467 #999024 #249956
split-complementary
#242D99 #995624 #679924
monochromatic
#0D1036 #181E67 #242D99 #303CCB #5E68D9
Accessibility & contrast
On white
10.99
#242D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#242D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242D99
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242D99 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #242d99; /* rgb */ color: rgb(36, 45, 153); /* oklch */ color: oklch(37.1% 0.173 271.0);
Tailwind
colors: {
custom: {
50: '#7266b8',
500: '#242d99',
950: '#000000',
},
}SCSS
$custom: #242d99; $custom-light: #7266b8; $custom-dark: #000000;
JSON
{
"hex": "#242d99",
"rgb": {
"r": 36,
"g": 45,
"b": 153
},
"hsl": {
"h": 235.385,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.37146,
"c": 0.17259,
"h": 271
},
"luminance": 0.04552
}Semantic roles & 50–950 ramp
primary
#242D99
secondary
#BEB65B
accent
#D943E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80