#242E96#242E96
#242E96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.168 H 271.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #242E96 |
|---|---|
| RGB | rgb(36, 46, 150) |
| HSL | hsl(235, 61%, 36%) |
| HSV | hsv(235, 76%, 59%) |
| CMYK | cmyk(76%, 69.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.35, 33.39, -57.89) |
| CIE-LCH | lch(25.35, 66.83, 299.98°) |
| OKLab | oklab(37.01% 0.0028 -0.1675) |
| OKLCH | oklch(37.01% 0.168 271) |
| XYZ | xyz(7.2077, 4.5303, 29.3428) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.90
Royal
#0C1793
ΔE00 5.61
Blueberry
#464196
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 6.78
Indigo Blue
#3A18B1
ΔE00 6.87
Midnight Blue
#191970
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E96 #968C24
analogous
#246796 #242E96 #532496
triadic
#242E96 #96242E #2E9624
tetradic
#242E96 #962467 #968C24 #249653
square
#242E96 #962467 #968C24 #249653
split-complementary
#242E96 #965324 #679624
monochromatic
#0C1033 #181F65 #242E96 #303DC7 #5C67D8
Accessibility & contrast
On white
11.02
#242E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#242E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E96
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E96 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #242e96; /* rgb */ color: rgb(36, 46, 150); /* oklch */ color: oklch(37.0% 0.168 271.0);
Tailwind
colors: {
custom: {
50: '#7267b6',
500: '#242e96',
950: '#000000',
},
}SCSS
$custom: #242e96; $custom-light: #7267b6; $custom-dark: #000000;
JSON
{
"hex": "#242e96",
"rgb": {
"r": 36,
"g": 46,
"b": 150
},
"hsl": {
"h": 234.737,
"s": 61.29,
"l": 36.471
},
"oklch": {
"l": 0.3701,
"c": 0.1675,
"h": 271
},
"luminance": 0.04531
}Semantic roles & 50–950 ramp
primary
#242E96
secondary
#BDB459
accent
#D643E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80