#242979#242979
#242979 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.134 H 273.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #242979 |
|---|---|
| RGB | rgb(36, 41, 121) |
| HSL | hsl(236, 54%, 31%) |
| HSV | hsv(236, 70%, 47%) |
| CMYK | cmyk(70.2%, 66.1%, 0%, 52.5%) |
| CIE-LAB | lab(21.36, 25.94, -46.29) |
| CIE-LCH | lch(21.36, 53.07, 299.26°) |
| OKLab | oklab(33.26% 0.0088 -0.1336) |
| OKLCH | oklch(33.26% 0.134 273.8) |
| XYZ | xyz(4.9705, 3.3410, 18.4684) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.43
Royal
#0C1793
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 7.36
Marine
#042E60
ΔE00 7.54
Sapphire (survey)
#2138AB
ΔE00 8.09
Blueberry
#464196
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242979 #797424
analogous
#245379 #242979 #492479
triadic
#242979 #792429 #297924
tetradic
#242979 #792453 #797424 #247949
square
#242979 #792453 #797424 #247949
split-complementary
#242979 #794924 #537924
monochromatic
#08091B #16194A #242979 #3239A8 #4D55CA
Accessibility & contrast
On white
12.59
#242979 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#242979 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242979
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242979 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242979 | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #242979; /* rgb */ color: rgb(36, 41, 121); /* oklch */ color: oklch(33.3% 0.134 273.8);
Tailwind
colors: {
custom: {
50: '#6b63a0',
500: '#242979',
950: '#000000',
},
}SCSS
$custom: #242979; $custom-light: #6b63a0; $custom-dark: #000000;
JSON
{
"hex": "#242979",
"rgb": {
"r": 36,
"g": 41,
"b": 121
},
"hsl": {
"h": 236.471,
"s": 54.14,
"l": 30.784
},
"oklch": {
"l": 0.33258,
"c": 0.13387,
"h": 273.8
},
"luminance": 0.03341
}Semantic roles & 50–950 ramp
primary
#242979
secondary
#ACA64D
accent
#D54ADE
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F