#405481#405481
#405481 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.078 H 265.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #405481 |
|---|---|
| RGB | rgb(64, 84, 129) |
| HSL | hsl(222, 34%, 38%) |
| HSV | hsv(222, 50%, 51%) |
| CMYK | cmyk(50.4%, 34.9%, 0%, 49.4%) |
| CIE-LAB | lab(36.01, 5.76, -27.71) |
| CIE-LCH | lch(36.01, 28.30, 281.74°) |
| OKLab | oklab(45.03% -0.0066 -0.078) |
| OKLCH | oklch(45.03% 0.078 265.2) |
| XYZ | xyz(9.2458, 9.0150, 22.0175) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.95
Dusk
#4E5481
ΔE00 4.09
Dusky Blue
#475F94
ΔE00 4.36
Twilight
#4E518B
ΔE00 4.70
Dusk Blue
#26538D
ΔE00 5.02
Light Navy Blue
#2E5A88
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405481 #816D40
analogous
#407581 #405481 #4C4081
triadic
#405481 #814054 #548140
tetradic
#405481 #814075 #816D40 #40814C
square
#405481 #814075 #816D40 #40814C
split-complementary
#405481 #814C40 #758140
monochromatic
#171F2F #2C3958 #405481 #546FAA #7D91BE
Accessibility & contrast
On white
7.49
#405481 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#405481 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405481
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405481 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405481 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#255E64
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #405481; /* rgb */ color: rgb(64, 84, 129); /* oklch */ color: oklch(45.0% 0.078 265.2);
Tailwind
colors: {
custom: {
50: '#7983a6',
500: '#405481',
950: '#000000',
},
}SCSS
$custom: #405481; $custom-light: #7983a6; $custom-dark: #000000;
JSON
{
"hex": "#405481",
"rgb": {
"r": 64,
"g": 84,
"b": 129
},
"hsl": {
"h": 221.538,
"s": 33.679,
"l": 37.843
},
"oklch": {
"l": 0.45028,
"c": 0.07825,
"h": 265.2
},
"luminance": 0.09016
}Semantic roles & 50–950 ramp
primary
#405481
secondary
#A99974
accent
#A95ECA
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A0F
muted
#7B7C7F