#282B7E#282B7E
#282B7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.137 H 274.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #282B7E |
|---|---|
| RGB | rgb(40, 43, 126) |
| HSL | hsl(238, 52%, 33%) |
| HSV | hsv(238, 68%, 49%) |
| CMYK | cmyk(68.3%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(22.60, 27.06, -47.43) |
| CIE-LCH | lch(22.60, 54.61, 299.70°) |
| OKLab | oklab(34.38% 0.0117 -0.1368) |
| OKLCH | oklch(34.38% 0.137 274.9) |
| XYZ | xyz(5.5036, 3.6847, 20.1558) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.04
Royal
#0C1793
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.57
Sapphire (survey)
#2138AB
ΔE00 7.27
Blueberry
#464196
ΔE00 7.41
Marine
#042E60
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282B7E #7E7B28
analogous
#28567E #282B7E #50287E
triadic
#282B7E #7E282B #2B7E28
tetradic
#282B7E #7E2856 #7E7B28 #287E50
square
#282B7E #7E2856 #7E7B28 #287E50
split-complementary
#282B7E #7E5028 #567E28
monochromatic
#0B0B21 #191B50 #282B7E #373BAC #575BCA
Accessibility & contrast
On white
12.09
#282B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#282B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282B7E
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282B7E | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #282b7e; /* rgb */ color: rgb(40, 43, 126); /* oklch */ color: oklch(34.4% 0.137 274.9);
Tailwind
colors: {
custom: {
50: '#6e64a4',
500: '#282b7e',
950: '#000000',
},
}SCSS
$custom: #282b7e; $custom-light: #6e64a4; $custom-dark: #000000;
JSON
{
"hex": "#282b7e",
"rgb": {
"r": 40,
"g": 43,
"b": 126
},
"hsl": {
"h": 237.907,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.34379,
"c": 0.13729,
"h": 274.9
},
"luminance": 0.03685
}Semantic roles & 50–950 ramp
primary
#282B7E
secondary
#AFAB53
accent
#D64DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F