#406E98#406E98
#406E98 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.4% C 0.084 H 247.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #406E98 |
|---|---|
| RGB | rgb(64, 110, 152) |
| HSL | hsl(209, 41%, 42%) |
| HSV | hsv(209, 58%, 60%) |
| CMYK | cmyk(57.9%, 27.6%, 0%, 40.4%) |
| CIE-LAB | lab(44.95, -2.78, -27.60) |
| CIE-LCH | lch(44.95, 27.74, 264.24°) |
| OKLab | oklab(52.39% -0.0319 -0.0775) |
| OKLCH | oklch(52.39% 0.084 247.6) |
| XYZ | xyz(13.3557, 14.5077, 31.7961) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.57
Flat Blue
#3C73A8
ΔE00 2.69
Dull Blue
#49759C
ΔE00 2.73
Cadet Blue
#4E7496
ΔE00 3.03
Mid Blue
#276AB3
ΔE00 3.82
Denim (survey)
#3B638C
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406E98 #986A40
analogous
#409896 #406E98 #404298
triadic
#406E98 #98406E #6E9840
tetradic
#406E98 #964098 #986A40 #429840
square
#406E98 #964098 #986A40 #429840
split-complementary
#406E98 #984042 #989640
monochromatic
#1C3042 #2E4F6D #406E98 #5B8DBA #86ABCC
Accessibility & contrast
On white
5.38
#406E98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#406E98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406E98
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406E98 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#516697
Tritanopia (blue-blind)
#00787D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #406e98; /* rgb */ color: rgb(64, 110, 152); /* oklch */ color: oklch(52.4% 0.084 247.6);
Tailwind
colors: {
custom: {
50: '#7c97b6',
500: '#406e98',
950: '#000000',
},
}SCSS
$custom: #406e98; $custom-light: #7c97b6; $custom-dark: #000000;
JSON
{
"hex": "#406e98",
"rgb": {
"r": 64,
"g": 110,
"b": 152
},
"hsl": {
"h": 208.636,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.52387,
"c": 0.0838,
"h": 247.6
},
"luminance": 0.14509
}Semantic roles & 50–950 ramp
primary
#406E98
secondary
#B7997D
accent
#9157D1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D11
muted
#7C7E80