#282B71#282B71
#282B71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.118 H 276.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #282B71 |
|---|---|
| RGB | rgb(40, 43, 113) |
| HSL | hsl(238, 48%, 30%) |
| HSV | hsv(238, 65%, 44%) |
| CMYK | cmyk(64.6%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(21.47, 22.25, -40.98) |
| CIE-LCH | lch(21.47, 46.63, 298.50°) |
| OKLab | oklab(33.2% 0.0123 -0.1178) |
| OKLCH | oklch(33.2% 0.118 276) |
| XYZ | xyz(4.7186, 3.3708, 16.0215) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.31
Marine
#042E60
ΔE00 6.91
Darkslateblue
#483D8B
ΔE00 7.18
Royal
#0C1793
ΔE00 8.26
Navy Blue
#1B2A4A
ΔE00 8.29
Blueberry
#464196
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282B71 #716E28
analogous
#285071 #282B71 #492871
triadic
#282B71 #71282B #2B7128
tetradic
#282B71 #712850 #716E28 #287149
square
#282B71 #712850 #716E28 #287149
split-complementary
#282B71 #714928 #507128
monochromatic
#080917 #181A44 #282B71 #383C9E #5256C2
Accessibility & contrast
On white
12.54
#282B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#282B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282B71
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282B71 | 1.00 | 12.54 | 1.67 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #282b71; /* rgb */ color: rgb(40, 43, 113); /* oklch */ color: oklch(33.2% 0.118 276.0);
Tailwind
colors: {
custom: {
50: '#6b649a',
500: '#282b71',
950: '#000000',
},
}SCSS
$custom: #282b71; $custom-light: #6b649a; $custom-dark: #000000;
JSON
{
"hex": "#282b71",
"rgb": {
"r": 40,
"g": 43,
"b": 113
},
"hsl": {
"h": 237.534,
"s": 47.712,
"l": 30
},
"oklch": {
"l": 0.33195,
"c": 0.11848,
"h": 276
},
"luminance": 0.03371
}Semantic roles & 50–950 ramp
primary
#282B71
secondary
#A3A052
accent
#D250D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E