#282E79#282E79
#282E79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.126 H 274.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #282E79 |
|---|---|
| RGB | rgb(40, 46, 121) |
| HSL | hsl(236, 50%, 32%) |
| HSV | hsv(236, 67%, 47%) |
| CMYK | cmyk(66.9%, 62%, 0%, 52.5%) |
| CIE-LAB | lab(22.95, 23.17, -43.69) |
| CIE-LCH | lch(22.95, 49.46, 297.93°) |
| OKLab | oklab(34.5% 0.0093 -0.1258) |
| OKLCH | oklch(34.5% 0.126 274.2) |
| XYZ | xyz(5.3021, 3.7851, 18.5366) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 6.38
Marine
#042E60
ΔE00 6.97
Blueberry
#464196
ΔE00 7.28
Sapphire (survey)
#2138AB
ΔE00 7.76
Royal
#0C1793
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282E79 #797328
analogous
#285779 #282E79 #4B2879
triadic
#282E79 #79282E #2E7928
tetradic
#282E79 #792857 #797328 #28794B
square
#282E79 #792857 #797328 #28794B
split-complementary
#282E79 #794B28 #577928
monochromatic
#0A0B1D #191D4B #282E79 #373FA7 #555DC7
Accessibility & contrast
On white
11.95
#282E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#282E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282E79
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282E79 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #282e79; /* rgb */ color: rgb(40, 46, 121); /* oklch */ color: oklch(34.5% 0.126 274.2);
Tailwind
colors: {
custom: {
50: '#6c66a0',
500: '#282e79',
950: '#000000',
},
}SCSS
$custom: #282e79; $custom-light: #6c66a0; $custom-dark: #000000;
JSON
{
"hex": "#282e79",
"rgb": {
"r": 40,
"g": 46,
"b": 121
},
"hsl": {
"h": 235.556,
"s": 50.311,
"l": 31.569
},
"oklch": {
"l": 0.34499,
"c": 0.12613,
"h": 274.2
},
"luminance": 0.03786
}Semantic roles & 50–950 ramp
primary
#282E79
secondary
#ABA452
accent
#CF4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E