#283F7F#283F7F
#283F7F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.112 H 266.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #283F7F |
|---|---|
| RGB | rgb(40, 63, 127) |
| HSL | hsl(224, 52%, 33%) |
| HSV | hsv(224, 69%, 50%) |
| CMYK | cmyk(68.5%, 50.4%, 0%, 50.2%) |
| CIE-LAB | lab(28.22, 13.70, -38.96) |
| CIE-LCH | lch(28.22, 41.29, 289.37°) |
| OKLab | oklab(38.6% -0.0071 -0.1116) |
| OKLCH | oklch(38.6% 0.112 266.4) |
| XYZ | xyz(6.4820, 5.5378, 20.8019) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.14
Darkish Blue
#014182
ΔE00 4.30
Twilight Blue
#0A437A
ΔE00 5.01
Marine Blue
#01386A
ΔE00 5.49
Prussian Blue
#004577
ΔE00 6.63
Blueberry
#464196
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283F7F #7F6828
analogous
#286A7F #283F7F #3C287F
triadic
#283F7F #7F283F #3F7F28
tetradic
#283F7F #7F286A #7F6828 #287F3C
square
#283F7F #7F286A #7F6828 #287F3C
split-complementary
#283F7F #7F3C28 #6A7F28
monochromatic
#0B1122 #192850 #283F7F #3756AE #5776CA
Accessibility & contrast
On white
9.96
#283F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#283F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283F7F
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283F7F | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#073F7E
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #283f7f; /* rgb */ color: rgb(40, 63, 127); /* oklch */ color: oklch(38.6% 0.112 266.4);
Tailwind
colors: {
custom: {
50: '#6c73a4',
500: '#283f7f',
950: '#000000',
},
}SCSS
$custom: #283f7f; $custom-light: #6c73a4; $custom-dark: #000000;
JSON
{
"hex": "#283f7f",
"rgb": {
"r": 40,
"g": 63,
"b": 127
},
"hsl": {
"h": 224.138,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.38604,
"c": 0.11184,
"h": 266.4
},
"luminance": 0.05538
}Semantic roles & 50–950 ramp
primary
#283F7F
secondary
#AF9754
accent
#B64CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F