#283F9E#283F9E
#283F9E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.157 H 268.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #283F9E |
|---|---|
| RGB | rgb(40, 63, 158) |
| HSL | hsl(228, 60%, 39%) |
| HSV | hsv(228, 75%, 62%) |
| CMYK | cmyk(74.7%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.58, 25.62, -54.21) |
| CIE-LCH | lch(30.58, 59.96, 295.30°) |
| OKLab | oklab(41.13% -0.0048 -0.1565) |
| OKLCH | oklch(41.13% 0.157 268.2) |
| XYZ | xyz(8.8220, 6.4738, 33.1258) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.05
Cobalt
#0047AB
ΔE00 4.21
Blueberry
#464196
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.13
Blue Blue
#2242C7
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F9E #9E8728
analogous
#287A9E #283F9E #4C289E
triadic
#283F9E #9E283F #3F9E28
tetradic
#283F9E #9E287A #9E8728 #289E4C
square
#283F9E #9E287A #9E8728 #289E4C
split-complementary
#283F9E #9E4C28 #7A9E28
monochromatic
#0F183C #1C2C6D #283F9E #3754CC #687ED9
Accessibility & contrast
On white
9.15
#283F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#283F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F9E
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F9E | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #283f9e; /* rgb */ color: rgb(40, 63, 158); /* oklch */ color: oklch(41.1% 0.157 268.2);
Tailwind
colors: {
custom: {
50: '#7473bb',
500: '#283f9e',
950: '#000000',
},
}SCSS
$custom: #283f9e; $custom-light: #7473bb; $custom-dark: #000000;
JSON
{
"hex": "#283f9e",
"rgb": {
"r": 40,
"g": 63,
"b": 158
},
"hsl": {
"h": 228.305,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.41131,
"c": 0.15655,
"h": 268.2
},
"luminance": 0.06475
}Semantic roles & 50–950 ramp
primary
#283F9E
secondary
#BFAD63
accent
#C445E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81