#283B97#283B97
#283B97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.152 H 269.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #283B97 |
|---|---|
| RGB | rgb(40, 59, 151) |
| HSL | hsl(230, 58%, 37%) |
| HSV | hsv(230, 74%, 59%) |
| CMYK | cmyk(73.5%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(28.93, 25.65, -52.63) |
| CIE-LCH | lch(28.93, 58.54, 295.98°) |
| OKLab | oklab(39.73% -0.0019 -0.1519) |
| OKLCH | oklch(39.73% 0.152 269.3) |
| XYZ | xyz(8.0230, 5.8126, 29.9713) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Blueberry
#464196
ΔE00 4.62
Cobalt
#0047AB
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.82
Cobalt (survey)
#1E488F
ΔE00 5.84
Blue Blue
#2242C7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283B97 #978428
analogous
#287297 #283B97 #4D2897
triadic
#283B97 #97283B #3B9728
tetradic
#283B97 #972872 #978428 #28974D
square
#283B97 #972872 #978428 #28974D
split-complementary
#283B97 #974D28 #729728
monochromatic
#0E1536 #1B2867 #283B97 #354EC7 #6477D6
Accessibility & contrast
On white
9.71
#283B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#283B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283B97
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283B97 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #283b97; /* rgb */ color: rgb(40, 59, 151); /* oklch */ color: oklch(39.7% 0.152 269.3);
Tailwind
colors: {
custom: {
50: '#7270b6',
500: '#283b97',
950: '#000000',
},
}SCSS
$custom: #283b97; $custom-light: #7270b6; $custom-dark: #000000;
JSON
{
"hex": "#283b97",
"rgb": {
"r": 40,
"g": 59,
"b": 151
},
"hsl": {
"h": 229.73,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.39727,
"c": 0.15189,
"h": 269.3
},
"luminance": 0.05813
}Semantic roles & 50–950 ramp
primary
#283B97
secondary
#BCAC5F
accent
#C746E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80