#242F97#242F97
#242F97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.168 H 270.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #242F97 |
|---|---|
| RGB | rgb(36, 47, 151) |
| HSL | hsl(234, 61%, 37%) |
| HSV | hsv(234, 76%, 59%) |
| CMYK | cmyk(76.2%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(25.69, 33.12, -57.95) |
| CIE-LCH | lch(25.69, 66.74, 299.75°) |
| OKLab | oklab(37.28% 0.0021 -0.1677) |
| OKLCH | oklch(37.28% 0.168 270.7) |
| XYZ | xyz(7.3281, 4.6417, 29.7819) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Royal
#0C1793
ΔE00 5.88
Blueberry
#464196
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.70
Indigo Blue
#3A18B1
ΔE00 6.99
Cobalt Blue
#030AA7
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F97 #978C24
analogous
#246997 #242F97 #532497
triadic
#242F97 #97242F #2F9724
tetradic
#242F97 #972469 #978C24 #249753
square
#242F97 #972469 #978C24 #249753
split-complementary
#242F97 #975324 #699724
monochromatic
#0C1034 #182066 #242F97 #303EC8 #5D69D8
Accessibility & contrast
On white
10.89
#242F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#242F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F97
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F97 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #242f97; /* rgb */ color: rgb(36, 47, 151); /* oklch */ color: oklch(37.3% 0.168 270.7);
Tailwind
colors: {
custom: {
50: '#7268b7',
500: '#242f97',
950: '#000000',
},
}SCSS
$custom: #242f97; $custom-light: #7268b7; $custom-dark: #000000;
JSON
{
"hex": "#242f97",
"rgb": {
"r": 36,
"g": 47,
"b": 151
},
"hsl": {
"h": 234.261,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.37284,
"c": 0.16767,
"h": 270.7
},
"luminance": 0.04642
}Semantic roles & 50–950 ramp
primary
#242F97
secondary
#BDB45A
accent
#D543E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80