#283C8E#283C8E
#283C8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.138 H 268.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #283C8E |
|---|---|
| RGB | rgb(40, 60, 142) |
| HSL | hsl(228, 56%, 36%) |
| HSV | hsv(228, 72%, 56%) |
| CMYK | cmyk(71.8%, 57.7%, 0%, 44.3%) |
| CIE-LAB | lab(28.47, 21.54, -47.85) |
| CIE-LCH | lch(28.47, 52.48, 294.23°) |
| OKLab | oklab(39.15% -0.0029 -0.1378) |
| OKLCH | oklch(39.15% 0.138 268.8) |
| XYZ | xyz(7.3717, 5.6351, 26.2851) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.71
Blueberry
#464196
ΔE00 4.94
Cobalt (survey)
#1E488F
ΔE00 5.06
Cobalt
#0047AB
ΔE00 5.76
Darkish Blue
#014182
ΔE00 5.81
Darkslateblue
#483D8B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283C8E #8E7A28
analogous
#286F8E #283C8E #47288E
triadic
#283C8E #8E283C #3C8E28
tetradic
#283C8E #8E286F #8E7A28 #288E47
square
#283C8E #8E286F #8E7A28 #288E47
split-complementary
#283C8E #8E4728 #6F8E28
monochromatic
#0D142F #1B285E #283C8E #3550BE #5F75D2
Accessibility & contrast
On white
9.87
#283C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#283C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283C8E
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283C8E | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #283c8e; /* rgb */ color: rgb(40, 60, 142); /* oklch */ color: oklch(39.2% 0.138 268.8);
Tailwind
colors: {
custom: {
50: '#7071b0',
500: '#283c8e',
950: '#000000',
},
}SCSS
$custom: #283c8e; $custom-light: #7071b0; $custom-dark: #000000;
JSON
{
"hex": "#283c8e",
"rgb": {
"r": 40,
"g": 60,
"b": 142
},
"hsl": {
"h": 228.235,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.39152,
"c": 0.13788,
"h": 268.8
},
"luminance": 0.05636
}Semantic roles & 50–950 ramp
primary
#283C8E
secondary
#B7A55B
accent
#C248DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F