#282F7D#282F7D
#282F7D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.131 H 273.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #282F7D |
|---|---|
| RGB | rgb(40, 47, 125) |
| HSL | hsl(235, 52%, 32%) |
| HSV | hsv(235, 68%, 49%) |
| CMYK | cmyk(68%, 62.4%, 0%, 51%) |
| CIE-LAB | lab(23.55, 23.98, -45.24) |
| CIE-LCH | lch(23.55, 51.21, 297.92°) |
| OKLab | oklab(35.05% 0.0083 -0.1303) |
| OKLCH | oklch(35.05% 0.131 273.6) |
| XYZ | xyz(5.5920, 3.9643, 19.8686) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.10
Midnight Blue
#191970
ΔE00 6.20
Blueberry
#464196
ΔE00 6.83
Sapphire (survey)
#2138AB
ΔE00 7.07
Marine
#042E60
ΔE00 7.21
Royal
#0C1793
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F7D #7D7628
analogous
#28597D #282F7D #4C287D
triadic
#282F7D #7D282F #2F7D28
tetradic
#282F7D #7D2859 #7D7628 #287D4C
square
#282F7D #7D2859 #7D7628 #287D4C
split-complementary
#282F7D #7D4C28 #597D28
monochromatic
#0A0C20 #191E4F #282F7D #3740AB #5660C9
Accessibility & contrast
On white
11.71
#282F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#282F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F7D
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F7D | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #282f7d; /* rgb */ color: rgb(40, 47, 125); /* oklch */ color: oklch(35.1% 0.131 273.6);
Tailwind
colors: {
custom: {
50: '#6d67a3',
500: '#282f7d',
950: '#000000',
},
}SCSS
$custom: #282f7d; $custom-light: #6d67a3; $custom-dark: #000000;
JSON
{
"hex": "#282f7d",
"rgb": {
"r": 40,
"g": 47,
"b": 125
},
"hsl": {
"h": 235.059,
"s": 51.515,
"l": 32.353
},
"oklch": {
"l": 0.35052,
"c": 0.1306,
"h": 273.6
},
"luminance": 0.03965
}Semantic roles & 50–950 ramp
primary
#282F7D
secondary
#AEA753
accent
#CF4DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F