#283A9B#283A9B
#283A9B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.159 H 269.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #283A9B |
|---|---|
| RGB | rgb(40, 58, 155) |
| HSL | hsl(231, 59%, 38%) |
| HSV | hsv(231, 74%, 61%) |
| CMYK | cmyk(74.2%, 62.6%, 0%, 39.2%) |
| CIE-LAB | lab(29.01, 27.83, -54.94) |
| CIE-LCH | lch(29.01, 61.59, 296.87°) |
| OKLab | oklab(39.89% -0.0012 -0.1587) |
| OKLCH | oklch(39.89% 0.159 269.6) |
| XYZ | xyz(8.3025, 5.8429, 31.6942) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.44
Blueberry
#464196
ΔE00 4.66
Cobalt
#0047AB
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.93
Blue Blue
#2242C7
ΔE00 6.25
Cobalt (survey)
#1E488F
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283A9B #9B8928
analogous
#28739B #283A9B #50289B
triadic
#283A9B #9B283A #3A9B28
tetradic
#283A9B #9B2873 #9B8928 #289B50
square
#283A9B #9B2873 #9B8928 #289B50
split-complementary
#283A9B #9B5028 #739B28
monochromatic
#0F163A #1B286A #283A9B #354DCB #6678D7
Accessibility & contrast
On white
9.68
#283A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#283A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283A9B
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283A9B | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #283a9b; /* rgb */ color: rgb(40, 58, 155); /* oklch */ color: oklch(39.9% 0.159 269.6);
Tailwind
colors: {
custom: {
50: '#7370b9',
500: '#283a9b',
950: '#000000',
},
}SCSS
$custom: #283a9b; $custom-light: #7370b9; $custom-dark: #000000;
JSON
{
"hex": "#283a9b",
"rgb": {
"r": 40,
"g": 58,
"b": 155
},
"hsl": {
"h": 230.609,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.3989,
"c": 0.15868,
"h": 269.6
},
"luminance": 0.05844
}Semantic roles & 50–950 ramp
primary
#283A9B
secondary
#BDAF61
accent
#CA46E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81