#242F9B#242F9B
#242F9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.173 H 270.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #242F9B |
|---|---|
| RGB | rgb(36, 47, 155) |
| HSL | hsl(234, 62%, 37%) |
| HSV | hsv(234, 77%, 61%) |
| CMYK | cmyk(76.8%, 69.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.08, 34.58, -59.75) |
| CIE-LCH | lch(26.08, 69.04, 300.06°) |
| OKLab | oklab(37.69% 0.0017 -0.1729) |
| OKLCH | oklch(37.69% 0.173 270.6) |
| XYZ | xyz(7.6584, 4.7738, 31.5218) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.25
Royal
#0C1793
ΔE00 5.87
Blueberry
#464196
ΔE00 6.40
Indigo Blue
#3A18B1
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 6.89
Cobalt Blue
#030AA7
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F9B #9B9024
analogous
#246A9B #242F9B #55249B
triadic
#242F9B #9B242F #2F9B24
tetradic
#242F9B #9B246A #9B9024 #249B55
square
#242F9B #9B246A #9B9024 #249B55
split-complementary
#242F9B #9B5524 #6A9B24
monochromatic
#0D1138 #182069 #242F9B #303ECD #5F6BDA
Accessibility & contrast
On white
10.74
#242F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#242F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F9B
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F9B | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #242f9b; /* rgb */ color: rgb(36, 47, 155); /* oklch */ color: oklch(37.7% 0.173 270.6);
Tailwind
colors: {
custom: {
50: '#7368ba',
500: '#242f9b',
950: '#000000',
},
}SCSS
$custom: #242f9b; $custom-light: #7368ba; $custom-dark: #000000;
JSON
{
"hex": "#242f9b",
"rgb": {
"r": 36,
"g": 47,
"b": 155
},
"hsl": {
"h": 234.454,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.37687,
"c": 0.17294,
"h": 270.6
},
"luminance": 0.04775
}Semantic roles & 50–950 ramp
primary
#242F9B
secondary
#BFB65C
accent
#D642E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81