#242197#242197
#242197 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.182 H 272.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #242197 |
|---|---|
| RGB | rgb(36, 33, 151) |
| HSL | hsl(242, 64%, 36%) |
| HSV | hsv(242, 78%, 59%) |
| CMYK | cmyk(76.2%, 78.1%, 0%, 40.8%) |
| CIE-LAB | lab(22.64, 41.57, -62.97) |
| CIE-LCH | lch(22.64, 75.46, 303.43°) |
| OKLab | oklab(35.1% 0.0091 -0.1822) |
| OKLCH | oklch(35.1% 0.182 272.9) |
| XYZ | xyz(6.8555, 3.6964, 29.6243) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.56
Cobalt Blue
#030AA7
ΔE00 4.28
Indigo Blue
#3A18B1
ΔE00 4.68
Royal Blue (survey)
#0504AA
ΔE00 4.85
Ultramarine
#2000B1
ΔE00 5.31
Darkblue
#00008B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242197 #949721
analogous
#215997 #242197 #5F2197
triadic
#242197 #972421 #219724
tetradic
#242197 #972159 #949721 #21975F
square
#242197 #972159 #949721 #21975F
split-complementary
#242197 #975F21 #599721
monochromatic
#0C0B33 #181665 #242197 #302CC9 #5B58DA
Accessibility & contrast
On white
12.07
#242197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#242197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242197
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242197 | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #242197; /* rgb */ color: rgb(36, 33, 151); /* oklch */ color: oklch(35.1% 0.182 272.9);
Tailwind
colors: {
custom: {
50: '#735eb7',
500: '#242197',
950: '#000000',
},
}SCSS
$custom: #242197; $custom-light: #735eb7; $custom-dark: #000000;
JSON
{
"hex": "#242197",
"rgb": {
"r": 36,
"g": 33,
"b": 151
},
"hsl": {
"h": 241.525,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.35104,
"c": 0.18247,
"h": 272.9
},
"luminance": 0.03697
}Semantic roles & 50–950 ramp
primary
#242197
secondary
#BCBE55
accent
#E741E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980