#283C8F#283C8F
#283C8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.139 H 268.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #283C8F |
|---|---|
| RGB | rgb(40, 60, 143) |
| HSL | hsl(228, 56%, 36%) |
| HSV | hsv(228, 72%, 56%) |
| CMYK | cmyk(72%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(28.55, 21.92, -48.34) |
| CIE-LCH | lch(28.55, 53.08, 294.39°) |
| OKLab | oklab(39.24% -0.0029 -0.1393) |
| OKLCH | oklch(39.24% 0.139 268.8) |
| XYZ | xyz(7.4472, 5.6653, 26.6823) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Blueberry
#464196
ΔE00 4.88
Cobalt (survey)
#1E488F
ΔE00 5.10
Cobalt
#0047AB
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 5.80
Darkish Blue
#014182
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283C8F #8F7B28
analogous
#286F8F #283C8F #48288F
triadic
#283C8F #8F283C #3C8F28
tetradic
#283C8F #8F286F #8F7B28 #288F48
square
#283C8F #8F286F #8F7B28 #288F48
split-complementary
#283C8F #8F4828 #6F8F28
monochromatic
#0D142F #1B285F #283C8F #3550BF #5F75D2
Accessibility & contrast
On white
9.84
#283C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#283C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283C8F
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283C8F | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #283c8f; /* rgb */ color: rgb(40, 60, 143); /* oklch */ color: oklch(39.2% 0.139 268.8);
Tailwind
colors: {
custom: {
50: '#7071b0',
500: '#283c8f',
950: '#000000',
},
}SCSS
$custom: #283c8f; $custom-light: #7071b0; $custom-dark: #000000;
JSON
{
"hex": "#283c8f",
"rgb": {
"r": 40,
"g": 60,
"b": 143
},
"hsl": {
"h": 228.35,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.39237,
"c": 0.13931,
"h": 268.8
},
"luminance": 0.05666
}Semantic roles & 50–950 ramp
primary
#283C8F
secondary
#B8A65B
accent
#C248E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80