#242B96#242B96
#242B96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.171 H 271.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #242B96 |
|---|---|
| RGB | rgb(36, 43, 150) |
| HSL | hsl(236, 61%, 36%) |
| HSV | hsv(236, 76%, 59%) |
| CMYK | cmyk(76%, 71.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.65, 35.30, -59.04) |
| CIE-LCH | lch(24.65, 68.79, 300.87°) |
| OKLab | oklab(36.5% 0.0045 -0.1708) |
| OKLCH | oklch(36.5% 0.171 271.5) |
| XYZ | xyz(7.0946, 4.3041, 29.3051) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.49
Royal
#0C1793
ΔE00 4.79
Indigo Blue
#3A18B1
ΔE00 6.23
Cobalt Blue
#030AA7
ΔE00 6.63
Midnight Blue
#191970
ΔE00 6.91
Blueberry
#464196
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242B96 #968F24
analogous
#246496 #242B96 #562496
triadic
#242B96 #96242B #2B9624
tetradic
#242B96 #962464 #968F24 #249656
square
#242B96 #962464 #968F24 #249656
split-complementary
#242B96 #965624 #649624
monochromatic
#0C0F33 #181D65 #242B96 #3039C7 #5C64D8
Accessibility & contrast
On white
11.28
#242B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#242B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242B96
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242B96 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #242b96; /* rgb */ color: rgb(36, 43, 150); /* oklch */ color: oklch(36.5% 0.171 271.5);
Tailwind
colors: {
custom: {
50: '#7265b6',
500: '#242b96',
950: '#000000',
},
}SCSS
$custom: #242b96; $custom-light: #7265b6; $custom-dark: #000000;
JSON
{
"hex": "#242b96",
"rgb": {
"r": 36,
"g": 43,
"b": 150
},
"hsl": {
"h": 236.316,
"s": 61.29,
"l": 36.471
},
"oklch": {
"l": 0.36504,
"c": 0.17091,
"h": 271.5
},
"luminance": 0.04305
}Semantic roles & 50–950 ramp
primary
#242B96
secondary
#BDB759
accent
#DB43E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80