#283799#283799
#283799 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.160 H 270.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #283799 |
|---|---|
| RGB | rgb(40, 55, 153) |
| HSL | hsl(232, 59%, 38%) |
| HSV | hsv(232, 74%, 60%) |
| CMYK | cmyk(73.9%, 64.1%, 0%, 40%) |
| CIE-LAB | lab(28.07, 29.08, -55.26) |
| CIE-LCH | lch(28.07, 62.45, 297.75°) |
| OKLab | oklab(39.14% 0.001 -0.1597) |
| OKLCH | oklch(39.14% 0.16 270.4) |
| XYZ | xyz(7.9891, 5.4826, 30.7680) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.56
Blueberry
#464196
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 5.83
Cobalt
#0047AB
ΔE00 6.54
Blue Blue
#2242C7
ΔE00 6.80
Ocean Blue
#4F42B5
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283799 #998A28
analogous
#287099 #283799 #512899
triadic
#283799 #992837 #379928
tetradic
#283799 #992870 #998A28 #289951
square
#283799 #992870 #998A28 #289951
split-complementary
#283799 #995128 #709928
monochromatic
#0F1438 #1B2668 #283799 #3548CA #6574D7
Accessibility & contrast
On white
10.02
#283799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#283799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283799
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283799 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #283799; /* rgb */ color: rgb(40, 55, 153); /* oklch */ color: oklch(39.1% 0.160 270.4);
Tailwind
colors: {
custom: {
50: '#736db8',
500: '#283799',
950: '#000000',
},
}SCSS
$custom: #283799; $custom-light: #736db8; $custom-dark: #000000;
JSON
{
"hex": "#283799",
"rgb": {
"r": 40,
"g": 55,
"b": 153
},
"hsl": {
"h": 232.035,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.39139,
"c": 0.15966,
"h": 270.4
},
"luminance": 0.05483
}Semantic roles & 50–950 ramp
primary
#283799
secondary
#BDB060
accent
#CD46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80