#282F79#282F79
#282F79 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.125 H 273.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #282F79 |
|---|---|
| RGB | rgb(40, 47, 121) |
| HSL | hsl(235, 50%, 32%) |
| HSV | hsv(235, 67%, 47%) |
| CMYK | cmyk(66.9%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(23.22, 22.48, -43.26) |
| CIE-LCH | lch(23.22, 48.75, 297.46°) |
| OKLab | oklab(34.7% 0.0083 -0.1245) |
| OKLCH | oklch(34.7% 0.125 273.8) |
| XYZ | xyz(5.3416, 3.8642, 18.5498) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.29
Marine
#042E60
ΔE00 6.78
Blueberry
#464196
ΔE00 7.15
Sapphire (survey)
#2138AB
ΔE00 7.70
Royal
#0C1793
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F79 #797228
analogous
#285879 #282F79 #4A2879
triadic
#282F79 #79282F #2F7928
tetradic
#282F79 #792858 #797228 #28794A
square
#282F79 #792858 #797228 #28794A
split-complementary
#282F79 #794A28 #587928
monochromatic
#0A0B1D #191D4B #282F79 #3741A7 #555FC7
Accessibility & contrast
On white
11.84
#282F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#282F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F79
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F79 | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #282f79; /* rgb */ color: rgb(40, 47, 121); /* oklch */ color: oklch(34.7% 0.125 273.8);
Tailwind
colors: {
custom: {
50: '#6c67a0',
500: '#282f79',
950: '#000000',
},
}SCSS
$custom: #282f79; $custom-light: #6c67a0; $custom-dark: #000000;
JSON
{
"hex": "#282f79",
"rgb": {
"r": 40,
"g": 47,
"b": 121
},
"hsl": {
"h": 234.815,
"s": 50.311,
"l": 31.569
},
"oklch": {
"l": 0.34698,
"c": 0.12477,
"h": 273.8
},
"luminance": 0.03865
}Semantic roles & 50–950 ramp
primary
#282F79
secondary
#ABA352
accent
#CE4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E