#242099#242099
#242099 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.186 H 272.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #242099 |
|---|---|
| RGB | rgb(36, 32, 153) |
| HSL | hsl(242, 65%, 36%) |
| HSV | hsv(242, 79%, 60%) |
| CMYK | cmyk(76.5%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(22.68, 42.78, -64.14) |
| CIE-LCH | lch(22.68, 77.10, 303.70°) |
| OKLab | oklab(35.2% 0.0091 -0.1856) |
| OKLCH | oklch(35.2% 0.186 272.8) |
| XYZ | xyz(6.9919, 3.7073, 30.4779) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.49
Cobalt Blue
#030AA7
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.36
Royal Blue (survey)
#0504AA
ΔE00 4.51
Ultramarine
#2000B1
ΔE00 4.94
Darkblue
#00008B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242099 #959920
analogous
#205999 #242099 #612099
triadic
#242099 #992420 #209924
tetradic
#242099 #992059 #959920 #209961
square
#242099 #992059 #959920 #209961
split-complementary
#242099 #996120 #599920
monochromatic
#0C0B34 #181566 #242099 #302BCC #5C57DC
Accessibility & contrast
On white
12.06
#242099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#242099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242099
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242099 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #242099; /* rgb */ color: rgb(36, 32, 153); /* oklch */ color: oklch(35.2% 0.186 272.8);
Tailwind
colors: {
custom: {
50: '#745eb8',
500: '#242099',
950: '#000000',
},
}SCSS
$custom: #242099; $custom-light: #745eb8; $custom-dark: #000000;
JSON
{
"hex": "#242099",
"rgb": {
"r": 36,
"g": 32,
"b": 153
},
"hsl": {
"h": 241.983,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.35197,
"c": 0.18584,
"h": 272.8
},
"luminance": 0.03708
}Semantic roles & 50–950 ramp
primary
#242099
secondary
#BCC055
accent
#E83FE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981