#283B9A#283B9A
#283B9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.156 H 269.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #283B9A |
|---|---|
| RGB | rgb(40, 59, 154) |
| HSL | hsl(230, 59%, 38%) |
| HSV | hsv(230, 74%, 60%) |
| CMYK | cmyk(74%, 61.7%, 0%, 39.6%) |
| CIE-LAB | lab(29.19, 26.78, -54.04) |
| CIE-LCH | lch(29.19, 60.32, 296.36°) |
| OKLab | oklab(39.99% -0.0019 -0.156) |
| OKLCH | oklch(39.99% 0.156 269.3) |
| XYZ | xyz(8.2698, 5.9113, 31.2707) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.73
Blueberry
#464196
ΔE00 4.62
Cobalt
#0047AB
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 5.93
Cobalt (survey)
#1E488F
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283B9A #9A8728
analogous
#28749A #283B9A #4E289A
triadic
#283B9A #9A283B #3B9A28
tetradic
#283B9A #9A2874 #9A8728 #289A4E
square
#283B9A #9A2874 #9A8728 #289A4E
split-complementary
#283B9A #9A4E28 #749A28
monochromatic
#0F1639 #1B2869 #283B9A #354ECA #6578D7
Accessibility & contrast
On white
9.62
#283B9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#283B9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283B9A
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283B9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283B9A | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #283b9a; /* rgb */ color: rgb(40, 59, 154); /* oklch */ color: oklch(40.0% 0.156 269.3);
Tailwind
colors: {
custom: {
50: '#7370b9',
500: '#283b9a',
950: '#000000',
},
}SCSS
$custom: #283b9a; $custom-light: #7370b9; $custom-dark: #000000;
JSON
{
"hex": "#283b9a",
"rgb": {
"r": 40,
"g": 59,
"b": 154
},
"hsl": {
"h": 230,
"s": 58.763,
"l": 38.039
},
"oklch": {
"l": 0.39993,
"c": 0.15605,
"h": 269.3
},
"luminance": 0.05912
}Semantic roles & 50–950 ramp
primary
#283B9A
secondary
#BDAE61
accent
#C846E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80