#241FAB#241FAB
#241FAB is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.208 H 271.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #241FAB |
|---|---|
| RGB | rgb(36, 31, 171) |
| HSL | hsl(242, 69%, 40%) |
| HSV | hsv(242, 82%, 67%) |
| CMYK | cmyk(78.9%, 81.9%, 0%, 32.9%) |
| CIE-LAB | lab(24.62, 49.08, -71.87) |
| CIE-LCH | lch(24.62, 87.03, 304.33°) |
| OKLab | oklab(37.17% 0.0053 -0.208) |
| OKLCH | oklch(37.17% 0.208 271.5) |
| XYZ | xyz(8.5657, 4.2944, 38.8976) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.56
Cobalt Blue
#030AA7
ΔE00 3.56
Ultramarine
#2000B1
ΔE00 3.72
Royal Blue (survey)
#0504AA
ΔE00 3.90
Royal
#0C1793
ΔE00 4.11
True Blue
#010FCC
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241FAB #A6AB1F
analogous
#1F60AB #241FAB #6A1FAB
triadic
#241FAB #AB241F #1FAB24
tetradic
#241FAB #AB1F60 #A6AB1F #1FAB6A
square
#241FAB #AB1F60 #A6AB1F #1FAB6A
split-complementary
#241FAB #AB6A1F #60AB1F
monochromatic
#0E0C43 #191677 #241FAB #342ED9 #6662E3
Accessibility & contrast
On white
11.30
#241FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#241FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241FAB
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241FAB | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041AF
Deuteranopia (green-blind)
#0033A9
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #241fab; /* rgb */ color: rgb(36, 31, 171); /* oklch */ color: oklch(37.2% 0.208 271.5);
Tailwind
colors: {
custom: {
50: '#785fc5',
500: '#241fab',
950: '#000000',
},
}SCSS
$custom: #241fab; $custom-light: #785fc5; $custom-dark: #000000;
JSON
{
"hex": "#241fab",
"rgb": {
"r": 36,
"g": 31,
"b": 171
},
"hsl": {
"h": 242.143,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.37168,
"c": 0.20809,
"h": 271.5
},
"luminance": 0.04295
}Semantic roles & 50–950 ramp
primary
#241FAB
secondary
#C4C75E
accent
#EC3CE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982