#283899#283899
#283899 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.158 H 270.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #283899 |
|---|---|
| RGB | rgb(40, 56, 153) |
| HSL | hsl(232, 59%, 38%) |
| HSV | hsv(232, 74%, 60%) |
| CMYK | cmyk(73.9%, 63.4%, 0%, 40%) |
| CIE-LAB | lab(28.32, 28.41, -54.85) |
| CIE-LCH | lch(28.32, 61.77, 297.39°) |
| OKLab | oklab(39.33% 0.0003 -0.1584) |
| OKLCH | oklch(39.33% 0.158 270.1) |
| XYZ | xyz(8.0370, 5.5785, 30.7840) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.58
Blueberry
#464196
ΔE00 4.77
Darkslateblue
#483D8B
ΔE00 5.81
Cobalt
#0047AB
ΔE00 6.25
Blue Blue
#2242C7
ΔE00 6.69
Cobalt (survey)
#1E488F
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283899 #998928
analogous
#287199 #283899 #502899
triadic
#283899 #992838 #389928
tetradic
#283899 #992871 #998928 #289950
square
#283899 #992871 #998928 #289950
split-complementary
#283899 #995028 #719928
monochromatic
#0F1438 #1B2668 #283899 #354ACA #6575D7
Accessibility & contrast
On white
9.93
#283899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#283899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283899
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283899 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #283899; /* rgb */ color: rgb(40, 56, 153); /* oklch */ color: oklch(39.3% 0.158 270.1);
Tailwind
colors: {
custom: {
50: '#736eb8',
500: '#283899',
950: '#000000',
},
}SCSS
$custom: #283899; $custom-light: #736eb8; $custom-dark: #000000;
JSON
{
"hex": "#283899",
"rgb": {
"r": 40,
"g": 56,
"b": 153
},
"hsl": {
"h": 231.504,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.39327,
"c": 0.15843,
"h": 270.1
},
"luminance": 0.05579
}Semantic roles & 50–950 ramp
primary
#283899
secondary
#BDAF60
accent
#CC46E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80