#283D9C#283D9C
#283D9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.156 H 268.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #283D9C |
|---|---|
| RGB | rgb(40, 61, 156) |
| HSL | hsl(229, 59%, 38%) |
| HSV | hsv(229, 74%, 61%) |
| CMYK | cmyk(74.4%, 60.9%, 0%, 38.8%) |
| CIE-LAB | lab(29.88, 26.20, -54.13) |
| CIE-LCH | lch(29.88, 60.14, 295.83°) |
| OKLab | oklab(40.56% -0.0034 -0.1563) |
| OKLCH | oklch(40.56% 0.156 268.8) |
| XYZ | xyz(8.5425, 6.1880, 32.1902) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.81
Blueberry
#464196
ΔE00 4.64
Cobalt
#0047AB
ΔE00 4.79
Cobalt (survey)
#1E488F
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283D9C #9C8728
analogous
#28779C #283D9C #4D289C
triadic
#283D9C #9C283D #3D9C28
tetradic
#283D9C #9C2877 #9C8728 #289C4D
square
#283D9C #9C2877 #9C8728 #289C4D
split-complementary
#283D9C #9C4D28 #779C28
monochromatic
#0F173B #1C2A6B #283D9C #3651CB #677BD8
Accessibility & contrast
On white
9.38
#283D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#283D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283D9C
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283D9C | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #283d9c; /* rgb */ color: rgb(40, 61, 156); /* oklch */ color: oklch(40.6% 0.156 268.8);
Tailwind
colors: {
custom: {
50: '#7372ba',
500: '#283d9c',
950: '#000000',
},
}SCSS
$custom: #283d9c; $custom-light: #7372ba; $custom-dark: #000000;
JSON
{
"hex": "#283d9c",
"rgb": {
"r": 40,
"g": 61,
"b": 156
},
"hsl": {
"h": 229.138,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.40561,
"c": 0.1563,
"h": 268.8
},
"luminance": 0.06189
}Semantic roles & 50–950 ramp
primary
#283D9C
secondary
#BEAD62
accent
#C645E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81