#241B7E#241B7E
#241B7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.157 H 276.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #241B7E |
|---|---|
| RGB | rgb(36, 27, 126) |
| HSL | hsl(245, 65%, 30%) |
| HSV | hsv(245, 79%, 49%) |
| CMYK | cmyk(71.4%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(18.65, 36.54, -53.94) |
| CIE-LCH | lch(18.65, 65.15, 304.12°) |
| OKLab | oklab(31.46% 0.0177 -0.1559) |
| OKLCH | oklch(31.46% 0.157 276.5) |
| XYZ | xyz(4.8842, 2.6648, 19.9916) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 3.52
Indigo (survey)
#380282
ΔE00 5.00
Dark Royal Blue
#02066F
ΔE00 5.02
Navy
#000080
ΔE00 5.16
Darkblue
#00008B
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241B7E #757E1B
analogous
#1B437E #241B7E #561B7E
triadic
#241B7E #7E241B #1B7E24
tetradic
#241B7E #7E1B43 #757E1B #1B7E56
square
#241B7E #7E1B43 #757E1B #1B7E56
split-complementary
#241B7E #7E561B #437E1B
monochromatic
#070519 #16104C #241B7E #3226B0 #4C3ED6
Accessibility & contrast
On white
13.70
#241B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#241B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241B7E
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241B7E | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #241b7e; /* rgb */ color: rgb(36, 27, 126); /* oklch */ color: oklch(31.5% 0.157 276.5);
Tailwind
colors: {
custom: {
50: '#6d59a4',
500: '#241b7e',
950: '#000000',
},
}SCSS
$custom: #241b7e; $custom-light: #6d59a4; $custom-dark: #000000;
JSON
{
"hex": "#241b7e",
"rgb": {
"r": 36,
"g": 27,
"b": 126
},
"hsl": {
"h": 245.455,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.31462,
"c": 0.15689,
"h": 276.5
},
"luminance": 0.02665
}Semantic roles & 50–950 ramp
primary
#241B7E
secondary
#A8B243
accent
#E840D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F