#282B76#282B76
#282B76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.126 H 275.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #282B76 |
|---|---|
| RGB | rgb(40, 43, 118) |
| HSL | hsl(238, 49%, 31%) |
| HSV | hsv(238, 66%, 46%) |
| CMYK | cmyk(66.1%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(21.90, 24.10, -43.50) |
| CIE-LCH | lch(21.90, 49.73, 298.99°) |
| OKLab | oklab(33.64% 0.0122 -0.1252) |
| OKLCH | oklch(33.64% 0.126 275.6) |
| XYZ | xyz(5.0079, 3.4865, 17.5451) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.06
Darkslateblue
#483D8B
ΔE00 6.87
Marine
#042E60
ΔE00 7.31
Royal
#0C1793
ΔE00 7.50
Blueberry
#464196
ΔE00 7.96
Sapphire (survey)
#2138AB
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282B76 #767328
analogous
#285276 #282B76 #4C2876
triadic
#282B76 #76282B #2B7628
tetradic
#282B76 #762852 #767328 #28764C
square
#282B76 #762852 #767328 #28764C
split-complementary
#282B76 #764C28 #527628
monochromatic
#090A1B #191A48 #282B76 #373CA4 #5458C5
Accessibility & contrast
On white
12.37
#282B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#282B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282B76
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282B76 | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #282b76; /* rgb */ color: rgb(40, 43, 118); /* oklch */ color: oklch(33.6% 0.126 275.6);
Tailwind
colors: {
custom: {
50: '#6c649e',
500: '#282b76',
950: '#000000',
},
}SCSS
$custom: #282b76; $custom-light: #6c649e; $custom-dark: #000000;
JSON
{
"hex": "#282b76",
"rgb": {
"r": 40,
"g": 43,
"b": 118
},
"hsl": {
"h": 237.692,
"s": 49.367,
"l": 30.98
},
"oklch": {
"l": 0.33641,
"c": 0.12583,
"h": 275.6
},
"luminance": 0.03487
}Semantic roles & 50–950 ramp
primary
#282B76
secondary
#A8A552
accent
#D44FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E