#241F99#241F99
#241F99 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.187 H 272.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #241F99 |
|---|---|
| RGB | rgb(36, 31, 153) |
| HSL | hsl(242, 66%, 36%) |
| HSV | hsv(242, 80%, 60%) |
| CMYK | cmyk(76.5%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(22.49, 43.32, -64.45) |
| CIE-LCH | lch(22.49, 77.65, 303.91°) |
| OKLab | oklab(35.07% 0.0094 -0.1865) |
| OKLCH | oklch(35.07% 0.187 272.9) |
| XYZ | xyz(6.9654, 3.6542, 30.4691) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.35
Cobalt Blue
#030AA7
ΔE00 3.78
Indigo Blue
#3A18B1
ΔE00 4.29
Royal Blue (survey)
#0504AA
ΔE00 4.33
Ultramarine
#2000B1
ΔE00 4.77
Darkblue
#00008B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241F99 #94991F
analogous
#1F5799 #241F99 #611F99
triadic
#241F99 #99241F #1F9924
tetradic
#241F99 #991F57 #94991F #1F9961
square
#241F99 #991F57 #94991F #1F9961
split-complementary
#241F99 #99611F #57991F
monochromatic
#0C0A33 #181566 #241F99 #3029CC #5B56DD
Accessibility & contrast
On white
12.13
#241F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#241F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241F99
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241F99 | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #241f99; /* rgb */ color: rgb(36, 31, 153); /* oklch */ color: oklch(35.1% 0.187 272.9);
Tailwind
colors: {
custom: {
50: '#745db8',
500: '#241f99',
950: '#000000',
},
}SCSS
$custom: #241f99; $custom-light: #745db8; $custom-dark: #000000;
JSON
{
"hex": "#241f99",
"rgb": {
"r": 36,
"g": 31,
"b": 153
},
"hsl": {
"h": 242.459,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.35068,
"c": 0.18673,
"h": 272.9
},
"luminance": 0.03655
}Semantic roles & 50–950 ramp
primary
#241F99
secondary
#BCC054
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981