#241F98#241F98
#241F98 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.186 H 273.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #241F98 |
|---|---|
| RGB | rgb(36, 31, 152) |
| HSL | hsl(242, 66%, 36%) |
| HSV | hsv(242, 80%, 60%) |
| CMYK | cmyk(76.3%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(22.38, 42.99, -64.03) |
| CIE-LCH | lch(22.38, 77.12, 303.88°) |
| OKLab | oklab(34.95% 0.0097 -0.1853) |
| OKLCH | oklch(34.95% 0.186 273) |
| XYZ | xyz(6.8831, 3.6213, 30.0359) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.29
Cobalt Blue
#030AA7
ΔE00 3.85
Royal Blue (survey)
#0504AA
ΔE00 4.40
Indigo Blue
#3A18B1
ΔE00 4.41
Ultramarine
#2000B1
ΔE00 4.87
Darkblue
#00008B
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241F98 #93981F
analogous
#1F5698 #241F98 #601F98
triadic
#241F98 #98241F #1F9824
tetradic
#241F98 #981F56 #93981F #1F9860
square
#241F98 #981F56 #93981F #1F9860
split-complementary
#241F98 #98601F #56981F
monochromatic
#0C0A32 #181565 #241F98 #3029CB #5B55DC
Accessibility & contrast
On white
12.18
#241F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#241F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241F98
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241F98 | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #241f98; /* rgb */ color: rgb(36, 31, 152); /* oklch */ color: oklch(35.0% 0.186 273.0);
Tailwind
colors: {
custom: {
50: '#745db8',
500: '#241f98',
950: '#000000',
},
}SCSS
$custom: #241f98; $custom-light: #745db8; $custom-dark: #000000;
JSON
{
"hex": "#241f98",
"rgb": {
"r": 36,
"g": 31,
"b": 152
},
"hsl": {
"h": 242.479,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.34953,
"c": 0.18552,
"h": 273
},
"luminance": 0.03622
}Semantic roles & 50–950 ramp
primary
#241F98
secondary
#BBC053
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980