#283D8F#283D8F
#283D8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.138 H 268.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #283D8F |
|---|---|
| RGB | rgb(40, 61, 143) |
| HSL | hsl(228, 56%, 36%) |
| HSV | hsv(228, 72%, 56%) |
| CMYK | cmyk(72%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(28.83, 21.24, -47.90) |
| CIE-LCH | lch(28.83, 52.39, 293.91°) |
| OKLab | oklab(39.44% -0.0037 -0.1379) |
| OKLCH | oklch(39.44% 0.138 268.5) |
| XYZ | xyz(7.5000, 5.7710, 26.6999) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 4.76
Blueberry
#464196
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.46
Darkish Blue
#014182
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283D8F #8F7A28
analogous
#28708F #283D8F #46288F
triadic
#283D8F #8F283D #3D8F28
tetradic
#283D8F #8F2870 #8F7A28 #288F46
square
#283D8F #8F2870 #8F7A28 #288F46
split-complementary
#283D8F #8F4628 #708F28
monochromatic
#0D142F #1B295F #283D8F #3551BF #5F77D2
Accessibility & contrast
On white
9.75
#283D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#283D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283D8F
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283D8F | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #283d8f; /* rgb */ color: rgb(40, 61, 143); /* oklch */ color: oklch(39.4% 0.138 268.5);
Tailwind
colors: {
custom: {
50: '#7072b0',
500: '#283d8f',
950: '#000000',
},
}SCSS
$custom: #283d8f; $custom-light: #7072b0; $custom-dark: #000000;
JSON
{
"hex": "#283d8f",
"rgb": {
"r": 40,
"g": 61,
"b": 143
},
"hsl": {
"h": 227.767,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.39443,
"c": 0.138,
"h": 268.5
},
"luminance": 0.05772
}Semantic roles & 50–950 ramp
primary
#283D8F
secondary
#B8A55B
accent
#C148E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80