#242C97#242C97
#242C97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.171 H 271.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #242C97 |
|---|---|
| RGB | rgb(36, 44, 151) |
| HSL | hsl(236, 61%, 37%) |
| HSV | hsv(236, 76%, 59%) |
| CMYK | cmyk(76.2%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(24.98, 35.03, -59.11) |
| CIE-LCH | lch(24.98, 68.71, 300.65°) |
| OKLab | oklab(36.77% 0.0038 -0.171) |
| OKLCH | oklch(36.77% 0.171 271.3) |
| XYZ | xyz(7.2123, 4.4100, 29.7433) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.20
Royal
#0C1793
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 6.32
Cobalt Blue
#030AA7
ΔE00 6.83
Blueberry
#464196
ΔE00 6.92
Darkslateblue
#483D8B
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242C97 #978F24
analogous
#246697 #242C97 #562497
triadic
#242C97 #97242C #2C9724
tetradic
#242C97 #972466 #978F24 #249756
square
#242C97 #972466 #978F24 #249756
split-complementary
#242C97 #975624 #669724
monochromatic
#0C0F34 #181E66 #242C97 #303AC8 #5D66D8
Accessibility & contrast
On white
11.16
#242C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#242C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242C97
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242C97 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #242c97; /* rgb */ color: rgb(36, 44, 151); /* oklch */ color: oklch(36.8% 0.171 271.3);
Tailwind
colors: {
custom: {
50: '#7266b7',
500: '#242c97',
950: '#000000',
},
}SCSS
$custom: #242c97; $custom-light: #7266b7; $custom-dark: #000000;
JSON
{
"hex": "#242c97",
"rgb": {
"r": 36,
"g": 44,
"b": 151
},
"hsl": {
"h": 235.826,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.36773,
"c": 0.17109,
"h": 271.3
},
"luminance": 0.04411
}Semantic roles & 50–950 ramp
primary
#242C97
secondary
#BDB65A
accent
#D943E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80