#283A9E#283A9E
#283A9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.163 H 269.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #283A9E |
|---|---|
| RGB | rgb(40, 58, 158) |
| HSL | hsl(231, 60%, 39%) |
| HSV | hsv(231, 75%, 62%) |
| CMYK | cmyk(74.7%, 63.3%, 0%, 38%) |
| CIE-LAB | lab(29.27, 28.96, -56.34) |
| CIE-LCH | lch(29.27, 63.34, 297.20°) |
| OKLab | oklab(40.16% -0.0013 -0.1628) |
| OKLCH | oklch(40.16% 0.163 269.6) |
| XYZ | xyz(8.5576, 5.9449, 33.0376) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.01
Blueberry
#464196
ΔE00 4.73
Cobalt
#0047AB
ΔE00 5.60
Blue Blue
#2242C7
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283A9E #9E8C28
analogous
#28759E #283A9E #51289E
triadic
#283A9E #9E283A #3A9E28
tetradic
#283A9E #9E2875 #9E8C28 #289E51
square
#283A9E #9E2875 #9E8C28 #289E51
split-complementary
#283A9E #9E5128 #759E28
monochromatic
#0F163C #1C286D #283A9E #374ECC #6879D9
Accessibility & contrast
On white
9.59
#283A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#283A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283A9E
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283A9E | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #283a9e; /* rgb */ color: rgb(40, 58, 158); /* oklch */ color: oklch(40.2% 0.163 269.6);
Tailwind
colors: {
custom: {
50: '#7470bc',
500: '#283a9e',
950: '#000000',
},
}SCSS
$custom: #283a9e; $custom-light: #7470bc; $custom-dark: #000000;
JSON
{
"hex": "#283a9e",
"rgb": {
"r": 40,
"g": 58,
"b": 158
},
"hsl": {
"h": 230.847,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.40164,
"c": 0.16278,
"h": 269.6
},
"luminance": 0.05946
}Semantic roles & 50–950 ramp
primary
#283A9E
secondary
#BFB163
accent
#CB45E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81