#241B7C#241B7C
#241B7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.154 H 276.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #241B7C |
|---|---|
| RGB | rgb(36, 27, 124) |
| HSL | hsl(246, 64%, 30%) |
| HSV | hsv(246, 78%, 49%) |
| CMYK | cmyk(71%, 78.2%, 0%, 51.4%) |
| CIE-LAB | lab(18.43, 35.87, -53.03) |
| CIE-LCH | lch(18.43, 64.02, 304.07°) |
| OKLab | oklab(31.24% 0.0182 -0.1532) |
| OKLCH | oklch(31.24% 0.154 276.8) |
| XYZ | xyz(4.7564, 2.6137, 19.3187) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.27
Royal
#0C1793
ΔE00 3.81
Dark Royal Blue
#02066F
ΔE00 4.94
Indigo (survey)
#380282
ΔE00 5.09
Deep Blue
#040273
ΔE00 5.24
Navy
#000080
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241B7C #737C1B
analogous
#1B437C #241B7C #551B7C
triadic
#241B7C #7C241B #1B7C24
tetradic
#241B7C #7C1B43 #737C1B #1B7C55
square
#241B7C #7C1B43 #737C1B #1B7C55
split-complementary
#241B7C #7C551B #437C1B
monochromatic
#070519 #15104A #241B7C #3326AE #4B3DD5
Accessibility & contrast
On white
13.79
#241B7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#241B7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241B7C
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241B7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241B7C | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #241b7c; /* rgb */ color: rgb(36, 27, 124); /* oklch */ color: oklch(31.2% 0.154 276.8);
Tailwind
colors: {
custom: {
50: '#6d59a3',
500: '#241b7c',
950: '#000000',
},
}SCSS
$custom: #241b7c; $custom-light: #6d59a3; $custom-dark: #000000;
JSON
{
"hex": "#241b7c",
"rgb": {
"r": 36,
"g": 27,
"b": 124
},
"hsl": {
"h": 245.567,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.31238,
"c": 0.15432,
"h": 276.8
},
"luminance": 0.02614
}Semantic roles & 50–950 ramp
primary
#241B7C
secondary
#A6B043
accent
#E741D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F