#241B7B#241B7B
#241B7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.153 H 276.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #241B7B |
|---|---|
| RGB | rgb(36, 27, 123) |
| HSL | hsl(246, 64%, 29%) |
| HSV | hsv(246, 78%, 48%) |
| CMYK | cmyk(70.7%, 78%, 0%, 51.8%) |
| CIE-LAB | lab(18.31, 35.53, -52.57) |
| CIE-LCH | lch(18.31, 63.45, 304.05°) |
| OKLab | oklab(31.13% 0.0184 -0.1519) |
| OKLCH | oklch(31.13% 0.153 276.9) |
| XYZ | xyz(4.6935, 2.5886, 18.9874) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.14
Royal
#0C1793
ΔE00 3.96
Dark Royal Blue
#02066F
ΔE00 4.90
Indigo (survey)
#380282
ΔE00 5.15
Deep Blue
#040273
ΔE00 5.23
Navy
#000080
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241B7B #727B1B
analogous
#1B427B #241B7B #541B7B
triadic
#241B7B #7B241B #1B7B24
tetradic
#241B7B #7B1B42 #727B1B #1B7B54
square
#241B7B #7B1B42 #727B1B #1B7B54
split-complementary
#241B7B #7B541B #427B1B
monochromatic
#070619 #151049 #241B7B #3326AD #4A3CD4
Accessibility & contrast
On white
13.84
#241B7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#241B7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241B7B
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241B7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241B7B | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #241b7b; /* rgb */ color: rgb(36, 27, 123); /* oklch */ color: oklch(31.1% 0.153 276.9);
Tailwind
colors: {
custom: {
50: '#6d59a2',
500: '#241b7b',
950: '#000000',
},
}SCSS
$custom: #241b7b; $custom-light: #6d59a2; $custom-dark: #000000;
JSON
{
"hex": "#241b7b",
"rgb": {
"r": 36,
"g": 27,
"b": 123
},
"hsl": {
"h": 245.625,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.31127,
"c": 0.15303,
"h": 276.9
},
"luminance": 0.02589
}Semantic roles & 50–950 ramp
primary
#241B7B
secondary
#A5AF43
accent
#E741D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F