#283897#283897
#283897 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.156 H 270.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #283897 |
|---|---|
| RGB | rgb(40, 56, 151) |
| HSL | hsl(231, 58%, 37%) |
| HSV | hsv(231, 74%, 59%) |
| CMYK | cmyk(73.5%, 62.9%, 0%, 40.8%) |
| CIE-LAB | lab(28.15, 27.66, -53.91) |
| CIE-LCH | lch(28.15, 60.59, 297.16°) |
| OKLab | oklab(39.15% 0.0003 -0.1557) |
| OKLCH | oklch(39.15% 0.156 270.1) |
| XYZ | xyz(7.8733, 5.5130, 29.9213) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.88
Blueberry
#464196
ΔE00 4.76
Darkslateblue
#483D8B
ΔE00 5.72
Cobalt
#0047AB
ΔE00 6.31
Cobalt (survey)
#1E488F
ΔE00 6.80
Blue Blue
#2242C7
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283897 #978728
analogous
#287097 #283897 #4F2897
triadic
#283897 #972838 #389728
tetradic
#283897 #972870 #978728 #28974F
square
#283897 #972870 #978728 #28974F
split-complementary
#283897 #974F28 #709728
monochromatic
#0E1436 #1B2667 #283897 #354AC7 #6474D6
Accessibility & contrast
On white
9.99
#283897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#283897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283897
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283897 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #283897; /* rgb */ color: rgb(40, 56, 151); /* oklch */ color: oklch(39.1% 0.156 270.1);
Tailwind
colors: {
custom: {
50: '#726eb6',
500: '#283897',
950: '#000000',
},
}SCSS
$custom: #283897; $custom-light: #726eb6; $custom-dark: #000000;
JSON
{
"hex": "#283897",
"rgb": {
"r": 40,
"g": 56,
"b": 151
},
"hsl": {
"h": 231.351,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.39145,
"c": 0.15568,
"h": 270.1
},
"luminance": 0.05514
}Semantic roles & 50–950 ramp
primary
#283897
secondary
#BCAE5F
accent
#CB46E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80