#405299#405299
#405299 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.1% C 0.117 H 270.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #405299 |
|---|---|
| RGB | rgb(64, 82, 153) |
| HSL | hsl(228, 41%, 43%) |
| HSV | hsv(228, 58%, 60%) |
| CMYK | cmyk(58.2%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(36.79, 15.24, -41.09) |
| CIE-LCH | lch(36.79, 43.82, 290.35°) |
| OKLab | oklab(46.07% 0.0011 -0.1171) |
| OKLCH | oklch(46.07% 0.117 270.5) |
| XYZ | xyz(10.8795, 9.4237, 31.3765) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 4.26
Twilight
#4E518B
ΔE00 4.49
Dusky Blue
#475F94
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 5.29
Dusk Blue
#26538D
ΔE00 5.47
Sapphire
#0F52BA
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405299 #998740
analogous
#407F99 #405299 #5A4099
triadic
#405299 #994052 #529940
tetradic
#405299 #99407F #998740 #40995A
square
#405299 #99407F #998740 #40995A
split-complementary
#405299 #995A40 #7F9940
monochromatic
#1C2443 #2E3B6E #405299 #5C6FBB #8795CD
Accessibility & contrast
On white
7.28
#405299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#405299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405299
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405299 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#255397
Tritanopia (blue-blind)
#03626E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #405299; /* rgb */ color: rgb(64, 82, 153); /* oklch */ color: oklch(46.1% 0.117 270.5);
Tailwind
colors: {
custom: {
50: '#7c82b7',
500: '#405299',
950: '#000000',
},
}SCSS
$custom: #405299; $custom-light: #7c82b7; $custom-dark: #000000;
JSON
{
"hex": "#405299",
"rgb": {
"r": 64,
"g": 82,
"b": 153
},
"hsl": {
"h": 227.865,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.46065,
"c": 0.11711,
"h": 270.5
},
"luminance": 0.09424
}Semantic roles & 50–950 ramp
primary
#405299
secondary
#B7AC7E
accent
#B857D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80