#242B79#242B79
#242B79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.131 H 273.1°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #242B79 |
|---|---|
| RGB | rgb(36, 43, 121) |
| HSL | hsl(235, 54%, 31%) |
| HSV | hsv(235, 70%, 47%) |
| CMYK | cmyk(70.2%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(21.88, 24.58, -45.44) |
| CIE-LCH | lch(21.88, 51.66, 298.41°) |
| OKLab | oklab(33.64% 0.0071 -0.1311) |
| OKLCH | oklch(33.64% 0.131 273.1) |
| XYZ | xyz(5.0415, 3.4828, 18.4920) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.04
Royal
#0C1793
ΔE00 7.08
Marine
#042E60
ΔE00 7.08
Darkslateblue
#483D8B
ΔE00 7.10
Sapphire (survey)
#2138AB
ΔE00 7.89
Blueberry
#464196
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242B79 #797224
analogous
#245579 #242B79 #472479
triadic
#242B79 #79242B #2B7924
tetradic
#242B79 #792455 #797224 #247947
square
#242B79 #792455 #797224 #247947
split-complementary
#242B79 #794724 #557924
monochromatic
#08091B #161A4A #242B79 #323CA8 #4D58CA
Accessibility & contrast
On white
12.38
#242B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#242B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242B79
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242B79 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #242b79; /* rgb */ color: rgb(36, 43, 121); /* oklch */ color: oklch(33.6% 0.131 273.1);
Tailwind
colors: {
custom: {
50: '#6b64a0',
500: '#242b79',
950: '#000000',
},
}SCSS
$custom: #242b79; $custom-light: #6b64a0; $custom-dark: #000000;
JSON
{
"hex": "#242b79",
"rgb": {
"r": 36,
"g": 43,
"b": 121
},
"hsl": {
"h": 235.059,
"s": 54.14,
"l": 30.784
},
"oklch": {
"l": 0.33641,
"c": 0.13125,
"h": 273.1
},
"luminance": 0.03483
}Semantic roles & 50–950 ramp
primary
#242B79
secondary
#ACA44D
accent
#D14ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F