#242D9F#242D9F
#242D9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.180 H 270.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #242D9F |
|---|---|
| RGB | rgb(36, 45, 159) |
| HSL | hsl(236, 63%, 38%) |
| HSV | hsv(236, 77%, 62%) |
| CMYK | cmyk(77.4%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(26.02, 37.27, -62.29) |
| CIE-LCH | lch(26.02, 72.59, 300.90°) |
| OKLab | oklab(37.77% 0.0023 -0.1803) |
| OKLCH | oklch(37.77% 0.18 270.7) |
| XYZ | xyz(7.9218, 4.7542, 33.2943) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.43
Royal
#0C1793
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 5.74
Cobalt Blue
#030AA7
ΔE00 6.68
Blueberry
#464196
ΔE00 6.88
Royal Blue (survey)
#0504AA
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242D9F #9F9624
analogous
#246A9F #242D9F #58249F
triadic
#242D9F #9F242D #2D9F24
tetradic
#242D9F #9F246A #9F9624 #249F58
square
#242D9F #9F246A #9F9624 #249F58
split-complementary
#242D9F #9F5824 #6A9F24
monochromatic
#0D113B #191F6D #242D9F #303CD0 #626BDB
Accessibility & contrast
On white
10.76
#242D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#242D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242D9F
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242D9F | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #242d9f; /* rgb */ color: rgb(36, 45, 159); /* oklch */ color: oklch(37.8% 0.180 270.7);
Tailwind
colors: {
custom: {
50: '#7467bd',
500: '#242d9f',
950: '#000000',
},
}SCSS
$custom: #242d9f; $custom-light: #7467bd; $custom-dark: #000000;
JSON
{
"hex": "#242d9f",
"rgb": {
"r": 36,
"g": 45,
"b": 159
},
"hsl": {
"h": 235.61,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.37766,
"c": 0.18033,
"h": 270.7
},
"luminance": 0.04755
}Semantic roles & 50–950 ramp
primary
#242D9F
secondary
#C1B95E
accent
#DA42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81