#283F9F#283F9F
#283F9F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.158 H 268.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #283F9F |
|---|---|
| RGB | rgb(40, 63, 159) |
| HSL | hsl(228, 60%, 39%) |
| HSV | hsv(228, 75%, 62%) |
| CMYK | cmyk(74.8%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(30.66, 26.00, -54.68) |
| CIE-LCH | lch(30.66, 60.54, 295.43°) |
| OKLab | oklab(41.22% -0.0048 -0.1578) |
| OKLCH | oklch(41.22% 0.158 268.2) |
| XYZ | xyz(8.9084, 6.5084, 33.5809) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.93
Cobalt
#0047AB
ΔE00 4.19
Blueberry
#464196
ΔE00 4.77
Cobalt (survey)
#1E488F
ΔE00 5.22
Blue Blue
#2242C7
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F9F #9F8828
analogous
#287B9F #283F9F #4D289F
triadic
#283F9F #9F283F #3F9F28
tetradic
#283F9F #9F287B #9F8828 #289F4D
square
#283F9F #9F287B #9F8828 #289F4D
split-complementary
#283F9F #9F4D28 #7B9F28
monochromatic
#0F183D #1C2C6E #283F9F #3754CD #687ED9
Accessibility & contrast
On white
9.12
#283F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#283F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F9F
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F9F | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #283f9f; /* rgb */ color: rgb(40, 63, 159); /* oklch */ color: oklch(41.2% 0.158 268.2);
Tailwind
colors: {
custom: {
50: '#7473bc',
500: '#283f9f',
950: '#000000',
},
}SCSS
$custom: #283f9f; $custom-light: #7473bc; $custom-dark: #000000;
JSON
{
"hex": "#283f9f",
"rgb": {
"r": 40,
"g": 63,
"b": 159
},
"hsl": {
"h": 228.403,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.41219,
"c": 0.15792,
"h": 268.2
},
"luminance": 0.06509
}Semantic roles & 50–950 ramp
primary
#283F9F
secondary
#BFAE64
accent
#C445E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81