#408CB2#408CB2
#408CB2 is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.8% C 0.094 H 233.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #408CB2 |
|---|---|
| RGB | rgb(64, 140, 178) |
| HSL | hsl(200, 47%, 47%) |
| HSV | hsv(200, 64%, 70%) |
| CMYK | cmyk(64%, 21.3%, 0%, 30.2%) |
| CIE-LAB | lab(55.13, -11.58, -26.92) |
| CIE-LCH | lch(55.13, 29.30, 246.72°) |
| OKLab | oklab(60.82% -0.0567 -0.0754) |
| OKLCH | oklch(60.82% 0.094 233.1) |
| XYZ | xyz(19.5252, 23.0585, 45.5326) |
| Luminance | 0.2306 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.93
Dusty Blue
#5A86AD
ΔE00 5.67
Steel Blue
#4682B4
ΔE00 5.85
Cool Blue
#4984B8
ΔE00 5.96
Off Blue
#5684AE
ΔE00 6.02
Water Blue
#0E87CC
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408CB2 #B26640
analogous
#40B29F #408CB2 #4053B2
triadic
#408CB2 #B2408C #8CB240
tetradic
#408CB2 #9F40B2 #B26640 #53B240
square
#408CB2 #9F40B2 #B26640 #53B240
split-complementary
#408CB2 #B24053 #B29F40
monochromatic
#204558 #306985 #408CB2 #67A8C8 #94C2D8
Accessibility & contrast
On white
3.74
#408CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#408CB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408CB2
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408CB2 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#798BB4
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #408cb2; /* rgb */ color: rgb(64, 140, 178); /* oklch */ color: oklch(60.8% 0.094 233.1);
Tailwind
colors: {
custom: {
50: '#80adc9',
500: '#408cb2',
950: '#000000',
},
}SCSS
$custom: #408cb2; $custom-light: #80adc9; $custom-dark: #000000;
JSON
{
"hex": "#408cb2",
"rgb": {
"r": 64,
"g": 140,
"b": 178
},
"hsl": {
"h": 200,
"s": 47.107,
"l": 47.451
},
"oklch": {
"l": 0.60822,
"c": 0.09431,
"h": 233.1
},
"luminance": 0.23061
}Semantic roles & 50–950 ramp
primary
#408CB2
secondary
#C49D8A
accent
#7E51D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82