#242B77#242B77
#242B77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.128 H 273.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #242B77 |
|---|---|
| RGB | rgb(36, 43, 119) |
| HSL | hsl(235, 54%, 30%) |
| HSV | hsv(235, 70%, 47%) |
| CMYK | cmyk(69.7%, 63.9%, 0%, 53.3%) |
| CIE-LAB | lab(21.71, 23.82, -44.46) |
| CIE-LCH | lch(21.71, 50.44, 298.18°) |
| OKLab | oklab(33.46% 0.0072 -0.1282) |
| OKLCH | oklch(33.46% 0.128 273.2) |
| XYZ | xyz(4.9201, 3.4343, 17.8528) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.08
Marine
#042E60
ΔE00 6.87
Darkslateblue
#483D8B
ΔE00 7.19
Royal
#0C1793
ΔE00 7.36
Blueberry
#464196
ΔE00 8.11
Sapphire (survey)
#2138AB
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242B77 #777024
analogous
#245477 #242B77 #472477
triadic
#242B77 #77242B #2B7724
tetradic
#242B77 #772454 #777024 #247747
square
#242B77 #772454 #777024 #247747
split-complementary
#242B77 #774724 #547724
monochromatic
#080919 #161A48 #242B77 #323CA6 #4C57C9
Accessibility & contrast
On white
12.45
#242B77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#242B77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242B77
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242B77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242B77 | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #242b77; /* rgb */ color: rgb(36, 43, 119); /* oklch */ color: oklch(33.5% 0.128 273.2);
Tailwind
colors: {
custom: {
50: '#6a649f',
500: '#242b77',
950: '#000000',
},
}SCSS
$custom: #242b77; $custom-light: #6a649f; $custom-dark: #000000;
JSON
{
"hex": "#242b77",
"rgb": {
"r": 36,
"g": 43,
"b": 119
},
"hsl": {
"h": 234.94,
"s": 53.548,
"l": 30.392
},
"oklch": {
"l": 0.33456,
"c": 0.12837,
"h": 273.2
},
"luminance": 0.03435
}Semantic roles & 50–950 ramp
primary
#242B77
secondary
#AAA24D
accent
#D14BDD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E