#282B7B#282B7B
#282B7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.133 H 275.1°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #282B7B |
|---|---|
| RGB | rgb(40, 43, 123) |
| HSL | hsl(238, 51%, 32%) |
| HSV | hsv(238, 67%, 48%) |
| CMYK | cmyk(67.5%, 65%, 0%, 51.8%) |
| CIE-LAB | lab(22.33, 25.95, -45.97) |
| CIE-LCH | lch(22.33, 52.79, 299.45°) |
| OKLab | oklab(34.1% 0.0119 -0.1325) |
| OKLCH | oklch(34.1% 0.133 275.1) |
| XYZ | xyz(5.3129, 3.6085, 19.1516) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.99
Darkslateblue
#483D8B
ΔE00 6.66
Royal
#0C1793
ΔE00 6.80
Blueberry
#464196
ΔE00 7.59
Sapphire (survey)
#2138AB
ΔE00 7.69
Marine
#042E60
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282B7B #7B7828
analogous
#28557B #282B7B #4F287B
triadic
#282B7B #7B282B #2B7B28
tetradic
#282B7B #7B2855 #7B7828 #287B4F
square
#282B7B #7B2855 #7B7828 #287B4F
split-complementary
#282B7B #7B4F28 #557B28
monochromatic
#0A0B1F #191B4D #282B7B #373BA9 #565AC8
Accessibility & contrast
On white
12.20
#282B7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#282B7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282B7B
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282B7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282B7B | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #282b7b; /* rgb */ color: rgb(40, 43, 123); /* oklch */ color: oklch(34.1% 0.133 275.1);
Tailwind
colors: {
custom: {
50: '#6d64a2',
500: '#282b7b',
950: '#000000',
},
}SCSS
$custom: #282b7b; $custom-light: #6d64a2; $custom-dark: #000000;
JSON
{
"hex": "#282b7b",
"rgb": {
"r": 40,
"g": 43,
"b": 123
},
"hsl": {
"h": 237.831,
"s": 50.92,
"l": 31.961
},
"oklch": {
"l": 0.34099,
"c": 0.13303,
"h": 275.1
},
"luminance": 0.03609
}Semantic roles & 50–950 ramp
primary
#282B7B
secondary
#ADAA52
accent
#D54DDA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F