#283152#283152
#283152 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.060 H 271.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #283152 |
|---|---|
| RGB | rgb(40, 49, 82) |
| HSL | hsl(227, 34%, 24%) |
| HSV | hsv(227, 51%, 32%) |
| CMYK | cmyk(51.2%, 40.2%, 0%, 67.8%) |
| CIE-LAB | lab(21.04, 6.61, -21.36) |
| CIE-LCH | lch(21.04, 22.36, 287.20°) |
| OKLab | oklab(32.17% 0.0012 -0.0602) |
| OKLCH | oklch(32.17% 0.06 271.1) |
| XYZ | xyz(3.4959, 3.2567, 8.4254) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.00
Marine
#042E60
ΔE00 6.52
Marine Blue
#01386A
ΔE00 8.29
Navy (survey)
#01153E
ΔE00 9.15
Dark
#1B2431
ΔE00 9.74
Twilight Blue
#0A437A
ΔE00 10.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283152 #524928
analogous
#284652 #283152 #342852
triadic
#283152 #522831 #315228
tetradic
#283152 #522846 #524928 #285234
square
#283152 #522846 #524928 #285234
split-complementary
#283152 #523428 #465228
monochromatic
#0A0C15 #141829 #283152 #3C4A7B #5062A4
Accessibility & contrast
On white
12.72
#283152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#283152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283152
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283152 | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253453
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#18383D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #283152; /* rgb */ color: rgb(40, 49, 82); /* oklch */ color: oklch(32.2% 0.060 271.1);
Tailwind
colors: {
custom: {
50: '#656883',
500: '#283152',
950: '#000000',
},
}SCSS
$custom: #283152; $custom-light: #656883; $custom-dark: #000000;
JSON
{
"hex": "#283152",
"rgb": {
"r": 40,
"g": 49,
"b": 82
},
"hsl": {
"h": 227.143,
"s": 34.426,
"l": 23.922
},
"oklch": {
"l": 0.32171,
"c": 0.0602,
"h": 271.1
},
"luminance": 0.03257
}Semantic roles & 50–950 ramp
primary
#283152
secondary
#857A51
accent
#B35DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C