#283A9F#283A9F
#283A9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.164 H 269.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #283A9F |
|---|---|
| RGB | rgb(40, 58, 159) |
| HSL | hsl(231, 60%, 39%) |
| HSV | hsv(231, 75%, 62%) |
| CMYK | cmyk(74.8%, 63.5%, 0%, 37.6%) |
| CIE-LAB | lab(29.36, 29.33, -56.80) |
| CIE-LCH | lch(29.36, 63.93, 297.31°) |
| OKLab | oklab(40.26% -0.0013 -0.1641) |
| OKLCH | oklch(40.26% 0.164 269.5) |
| XYZ | xyz(8.6440, 5.9795, 33.4928) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Blueberry
#464196
ΔE00 4.76
Cobalt
#0047AB
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283A9F #9F8D28
analogous
#28769F #283A9F #52289F
triadic
#283A9F #9F283A #3A9F28
tetradic
#283A9F #9F2876 #9F8D28 #289F52
square
#283A9F #9F2876 #9F8D28 #289F52
split-complementary
#283A9F #9F5228 #769F28
monochromatic
#0F163D #1C286E #283A9F #374ECD #6879D9
Accessibility & contrast
On white
9.56
#283A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#283A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283A9F
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283A9F | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #283a9f; /* rgb */ color: rgb(40, 58, 159); /* oklch */ color: oklch(40.3% 0.164 269.5);
Tailwind
colors: {
custom: {
50: '#7470bc',
500: '#283a9f',
950: '#000000',
},
}SCSS
$custom: #283a9f; $custom-light: #7470bc; $custom-dark: #000000;
JSON
{
"hex": "#283a9f",
"rgb": {
"r": 40,
"g": 58,
"b": 159
},
"hsl": {
"h": 230.924,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.40255,
"c": 0.16415,
"h": 269.5
},
"luminance": 0.0598
}Semantic roles & 50–950 ramp
primary
#283A9F
secondary
#BFB164
accent
#CB45E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81