#242199#242199
#242199 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.185 H 272.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #242199 |
|---|---|
| RGB | rgb(36, 33, 153) |
| HSL | hsl(242, 65%, 36%) |
| HSV | hsv(242, 78%, 60%) |
| CMYK | cmyk(76.5%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(22.87, 42.24, -63.83) |
| CIE-LCH | lch(22.87, 76.54, 303.50°) |
| OKLab | oklab(35.33% 0.0087 -0.1847) |
| OKLCH | oklch(35.33% 0.185 272.7) |
| XYZ | xyz(7.0193, 3.7619, 30.4870) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.64
Cobalt Blue
#030AA7
ΔE00 4.15
Indigo Blue
#3A18B1
ΔE00 4.44
Royal Blue (survey)
#0504AA
ΔE00 4.70
Ultramarine
#2000B1
ΔE00 5.12
Darkblue
#00008B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242199 #969921
analogous
#215A99 #242199 #602199
triadic
#242199 #992421 #219924
tetradic
#242199 #99215A #969921 #219960
square
#242199 #99215A #969921 #219960
split-complementary
#242199 #996021 #5A9921
monochromatic
#0C0B34 #181667 #242199 #302CCB #5C59DB
Accessibility & contrast
On white
11.98
#242199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#242199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242199
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242199 | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #242199; /* rgb */ color: rgb(36, 33, 153); /* oklch */ color: oklch(35.3% 0.185 272.7);
Tailwind
colors: {
custom: {
50: '#745fb8',
500: '#242199',
950: '#000000',
},
}SCSS
$custom: #242199; $custom-light: #745fb8; $custom-dark: #000000;
JSON
{
"hex": "#242199",
"rgb": {
"r": 36,
"g": 33,
"b": 153
},
"hsl": {
"h": 241.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.3533,
"c": 0.18492,
"h": 272.7
},
"luminance": 0.03763
}Semantic roles & 50–950 ramp
primary
#242199
secondary
#BDBF56
accent
#E840E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981