#241F96#241F96
#241F96 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.183 H 273.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #241F96 |
|---|---|
| RGB | rgb(36, 31, 150) |
| HSL | hsl(243, 66%, 35%) |
| HSV | hsv(243, 79%, 59%) |
| CMYK | cmyk(76%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(22.15, 42.33, -63.18) |
| CIE-LCH | lch(22.15, 76.05, 303.82°) |
| OKLab | oklab(34.72% 0.0101 -0.1828) |
| OKLCH | oklch(34.72% 0.183 273.2) |
| XYZ | xyz(6.7207, 3.5563, 29.1805) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.21
Cobalt Blue
#030AA7
ΔE00 3.99
Royal Blue (survey)
#0504AA
ΔE00 4.55
Indigo Blue
#3A18B1
ΔE00 4.65
Ultramarine
#2000B1
ΔE00 5.07
Darkblue
#00008B
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241F96 #91961F
analogous
#1F5596 #241F96 #5F1F96
triadic
#241F96 #96241F #1F9624
tetradic
#241F96 #961F55 #91961F #1F965F
square
#241F96 #961F55 #91961F #1F965F
split-complementary
#241F96 #965F1F #55961F
monochromatic
#0C0A31 #181563 #241F96 #3029C9 #5954DC
Accessibility & contrast
On white
12.27
#241F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#241F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241F96
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241F96 | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #241f96; /* rgb */ color: rgb(36, 31, 150); /* oklch */ color: oklch(34.7% 0.183 273.2);
Tailwind
colors: {
custom: {
50: '#735db6',
500: '#241f96',
950: '#000000',
},
}SCSS
$custom: #241f96; $custom-light: #735db6; $custom-dark: #000000;
JSON
{
"hex": "#241f96",
"rgb": {
"r": 36,
"g": 31,
"b": 150
},
"hsl": {
"h": 242.521,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.34723,
"c": 0.18308,
"h": 273.2
},
"luminance": 0.03557
}Semantic roles & 50–950 ramp
primary
#241F96
secondary
#BABF52
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980