#283397#283397
#283397 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.162 H 271.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #283397 |
|---|---|
| RGB | rgb(40, 51, 151) |
| HSL | hsl(234, 58%, 37%) |
| HSV | hsv(234, 74%, 59%) |
| CMYK | cmyk(73.5%, 66.2%, 0%, 40.8%) |
| CIE-LAB | lab(26.88, 30.97, -55.98) |
| CIE-LCH | lch(26.88, 63.98, 298.95°) |
| OKLab | oklab(38.21% 0.0039 -0.1618) |
| OKLCH | oklch(38.21% 0.162 271.4) |
| XYZ | xyz(7.6429, 5.0524, 29.8446) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Blueberry
#464196
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 5.96
Royal
#0C1793
ΔE00 7.02
Ocean Blue
#4F42B5
ΔE00 7.49
Blue Blue
#2242C7
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283397 #978C28
analogous
#286B97 #283397 #542897
triadic
#283397 #972833 #339728
tetradic
#283397 #97286B #978C28 #289754
square
#283397 #97286B #978C28 #289754
split-complementary
#283397 #975428 #6B9728
monochromatic
#0E1236 #1B2367 #283397 #3543C7 #646FD6
Accessibility & contrast
On white
10.44
#283397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#283397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283397
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283397 | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #283397; /* rgb */ color: rgb(40, 51, 151); /* oklch */ color: oklch(38.2% 0.162 271.4);
Tailwind
colors: {
custom: {
50: '#736bb7',
500: '#283397',
950: '#000000',
},
}SCSS
$custom: #283397; $custom-light: #736bb7; $custom-dark: #000000;
JSON
{
"hex": "#283397",
"rgb": {
"r": 40,
"g": 51,
"b": 151
},
"hsl": {
"h": 234.054,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.38214,
"c": 0.16184,
"h": 271.4
},
"luminance": 0.05053
}Semantic roles & 50–950 ramp
primary
#283397
secondary
#BCB25F
accent
#D246E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80