#282F88#282F88
#282F88 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.146 H 273.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #282F88 |
|---|---|
| RGB | rgb(40, 47, 136) |
| HSL | hsl(236, 55%, 35%) |
| HSV | hsv(236, 71%, 53%) |
| CMYK | cmyk(70.6%, 65.4%, 0%, 46.7%) |
| CIE-LAB | lab(24.52, 28.07, -50.58) |
| CIE-LCH | lch(24.52, 57.85, 299.03°) |
| OKLab | oklab(36.06% 0.0078 -0.146) |
| OKLCH | oklch(36.06% 0.146 273.1) |
| XYZ | xyz(6.3340, 4.2611, 23.7765) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.47
Darkslateblue
#483D8B
ΔE00 5.94
Blueberry
#464196
ΔE00 6.24
Midnight Blue
#191970
ΔE00 6.50
Royal
#0C1793
ΔE00 6.54
Marine
#042E60
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282F88 #888128
analogous
#285F88 #282F88 #512888
triadic
#282F88 #88282F #2F8828
tetradic
#282F88 #88285F #888128 #288851
square
#282F88 #88285F #888128 #288851
split-complementary
#282F88 #885128 #5F8828
monochromatic
#0C0E29 #1A1F59 #282F88 #363FB7 #5B64CF
Accessibility & contrast
On white
11.34
#282F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#282F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282F88
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282F88 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #282f88; /* rgb */ color: rgb(40, 47, 136); /* oklch */ color: oklch(36.1% 0.146 273.1);
Tailwind
colors: {
custom: {
50: '#7067ac',
500: '#282f88',
950: '#000000',
},
}SCSS
$custom: #282f88; $custom-light: #7067ac; $custom-dark: #000000;
JSON
{
"hex": "#282f88",
"rgb": {
"r": 40,
"g": 47,
"b": 136
},
"hsl": {
"h": 235.625,
"s": 54.545,
"l": 34.51
},
"oklch": {
"l": 0.36061,
"c": 0.14621,
"h": 273.1
},
"luminance": 0.04262
}Semantic roles & 50–950 ramp
primary
#282F88
secondary
#B4AD58
accent
#D34ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F