#242C99#242C99
#242C99 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.174 H 271.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #242C99 |
|---|---|
| RGB | rgb(36, 44, 153) |
| HSL | hsl(236, 62%, 37%) |
| HSV | hsv(236, 76%, 60%) |
| CMYK | cmyk(76.5%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(25.19, 35.75, -60.00) |
| CIE-LCH | lch(25.19, 69.85, 300.79°) |
| OKLab | oklab(36.98% 0.0036 -0.1737) |
| OKLCH | oklch(36.98% 0.174 271.2) |
| XYZ | xyz(7.3761, 4.4756, 30.6059) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.05
Royal
#0C1793
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 6.11
Cobalt Blue
#030AA7
ΔE00 6.70
Blueberry
#464196
ΔE00 6.94
Darkslateblue
#483D8B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242C99 #999124
analogous
#246799 #242C99 #562499
triadic
#242C99 #99242C #2C9924
tetradic
#242C99 #992467 #999124 #249956
square
#242C99 #992467 #999124 #249956
split-complementary
#242C99 #995624 #679924
monochromatic
#0D1036 #181E67 #242C99 #303ACB #5E67D9
Accessibility & contrast
On white
11.08
#242C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#242C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242C99
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242C99 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #242c99; /* rgb */ color: rgb(36, 44, 153); /* oklch */ color: oklch(37.0% 0.174 271.2);
Tailwind
colors: {
custom: {
50: '#7366b8',
500: '#242c99',
950: '#000000',
},
}SCSS
$custom: #242c99; $custom-light: #7366b8; $custom-dark: #000000;
JSON
{
"hex": "#242c99",
"rgb": {
"r": 36,
"g": 44,
"b": 153
},
"hsl": {
"h": 235.897,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.3698,
"c": 0.1737,
"h": 271.2
},
"luminance": 0.04476
}Semantic roles & 50–950 ramp
primary
#242C99
secondary
#BEB75B
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80