#283D9D#283D9D
#283D9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.158 H 268.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #283D9D |
|---|---|
| RGB | rgb(40, 61, 157) |
| HSL | hsl(229, 59%, 39%) |
| HSV | hsv(229, 75%, 62%) |
| CMYK | cmyk(74.5%, 61.1%, 0%, 38.4%) |
| CIE-LAB | lab(29.97, 26.58, -54.60) |
| CIE-LCH | lch(29.97, 60.72, 295.96°) |
| OKLab | oklab(40.65% -0.0034 -0.1576) |
| OKLCH | oklch(40.65% 0.158 268.8) |
| XYZ | xyz(8.6275, 6.2220, 32.6380) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.68
Blueberry
#464196
ΔE00 4.65
Cobalt
#0047AB
ΔE00 4.77
Cobalt (survey)
#1E488F
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283D9D #9D8828
analogous
#28779D #283D9D #4D289D
triadic
#283D9D #9D283D #3D9D28
tetradic
#283D9D #9D2877 #9D8828 #289D4D
square
#283D9D #9D2877 #9D8828 #289D4D
split-complementary
#283D9D #9D4D28 #779D28
monochromatic
#0F173B #1C2A6C #283D9D #3651CC #677BD8
Accessibility & contrast
On white
9.36
#283D9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#283D9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283D9D
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283D9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283D9D | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #283d9d; /* rgb */ color: rgb(40, 61, 157); /* oklch */ color: oklch(40.6% 0.158 268.8);
Tailwind
colors: {
custom: {
50: '#7372bb',
500: '#283d9d',
950: '#000000',
},
}SCSS
$custom: #283d9d; $custom-light: #7372bb; $custom-dark: #000000;
JSON
{
"hex": "#283d9d",
"rgb": {
"r": 40,
"g": 61,
"b": 157
},
"hsl": {
"h": 229.231,
"s": 59.391,
"l": 38.627
},
"oklch": {
"l": 0.4065,
"c": 0.15768,
"h": 268.8
},
"luminance": 0.06223
}Semantic roles & 50–950 ramp
primary
#283D9D
secondary
#BEAE62
accent
#C645E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81