#242C98#242C98
#242C98 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.172 H 271.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #242C98 |
|---|---|
| RGB | rgb(36, 44, 152) |
| HSL | hsl(236, 62%, 37%) |
| HSV | hsv(236, 76%, 60%) |
| CMYK | cmyk(76.3%, 71.1%, 0%, 40.4%) |
| CIE-LAB | lab(25.08, 35.39, -59.56) |
| CIE-LCH | lch(25.08, 69.28, 300.72°) |
| OKLab | oklab(36.88% 0.0037 -0.1724) |
| OKLCH | oklch(36.88% 0.172 271.2) |
| XYZ | xyz(7.2938, 4.4427, 30.1728) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Royal
#0C1793
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.76
Blueberry
#464196
ΔE00 6.93
Darkslateblue
#483D8B
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242C98 #989024
analogous
#246698 #242C98 #562498
triadic
#242C98 #98242C #2C9824
tetradic
#242C98 #982466 #989024 #249856
square
#242C98 #982466 #989024 #249856
split-complementary
#242C98 #985624 #669824
monochromatic
#0D0F35 #181E67 #242C98 #303AC9 #5E66D9
Accessibility & contrast
On white
11.12
#242C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#242C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242C98
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242C98 | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003696
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #242c98; /* rgb */ color: rgb(36, 44, 152); /* oklch */ color: oklch(36.9% 0.172 271.2);
Tailwind
colors: {
custom: {
50: '#7266b7',
500: '#242c98',
950: '#000000',
},
}SCSS
$custom: #242c98; $custom-light: #7266b7; $custom-dark: #000000;
JSON
{
"hex": "#242c98",
"rgb": {
"r": 36,
"g": 44,
"b": 152
},
"hsl": {
"h": 235.862,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.36876,
"c": 0.1724,
"h": 271.2
},
"luminance": 0.04443
}Semantic roles & 50–950 ramp
primary
#242C98
secondary
#BEB75A
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80