#283A9C#283A9C
#283A9C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.160 H 269.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #283A9C |
|---|---|
| RGB | rgb(40, 58, 156) |
| HSL | hsl(231, 59%, 38%) |
| HSV | hsv(231, 74%, 61%) |
| CMYK | cmyk(74.4%, 62.8%, 0%, 38.8%) |
| CIE-LAB | lab(29.10, 28.21, -55.41) |
| CIE-LCH | lch(29.10, 62.17, 296.98°) |
| OKLab | oklab(39.98% -0.0012 -0.16) |
| OKLCH | oklch(39.98% 0.16 269.6) |
| XYZ | xyz(8.3868, 5.8766, 32.1383) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.30
Blueberry
#464196
ΔE00 4.68
Cobalt
#0047AB
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.12
Cobalt (survey)
#1E488F
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283A9C #9C8A28
analogous
#28749C #283A9C #50289C
triadic
#283A9C #9C283A #3A9C28
tetradic
#283A9C #9C2874 #9C8A28 #289C50
square
#283A9C #9C2874 #9C8A28 #289C50
split-complementary
#283A9C #9C5028 #749C28
monochromatic
#0F163B #1C286B #283A9C #364DCB #6778D8
Accessibility & contrast
On white
9.65
#283A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#283A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283A9C
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283A9C | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #283a9c; /* rgb */ color: rgb(40, 58, 156); /* oklch */ color: oklch(40.0% 0.160 269.6);
Tailwind
colors: {
custom: {
50: '#7370ba',
500: '#283a9c',
950: '#000000',
},
}SCSS
$custom: #283a9c; $custom-light: #7370ba; $custom-dark: #000000;
JSON
{
"hex": "#283a9c",
"rgb": {
"r": 40,
"g": 58,
"b": 156
},
"hsl": {
"h": 230.69,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.39981,
"c": 0.16005,
"h": 269.6
},
"luminance": 0.05878
}Semantic roles & 50–950 ramp
primary
#283A9C
secondary
#BEB062
accent
#CA45E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81