#404F99#404F99
#404F99 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.121 H 272.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #404F99 |
|---|---|
| RGB | rgb(64, 79, 153) |
| HSL | hsl(230, 41%, 43%) |
| HSV | hsv(230, 58%, 60%) |
| CMYK | cmyk(58.2%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(35.95, 17.20, -42.43) |
| CIE-LCH | lch(35.95, 45.79, 292.06°) |
| OKLab | oklab(45.43% 0.0045 -0.1211) |
| OKLCH | oklch(45.43% 0.121 272.1) |
| XYZ | xyz(10.6582, 8.9811, 31.3027) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.35
Cobalt (survey)
#1E488F
ΔE00 5.22
Denim Blue
#3B5B92
ΔE00 5.29
Blueberry
#464196
ΔE00 5.38
Dusky Blue
#475F94
ΔE00 5.67
Cobalt
#0047AB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404F99 #998A40
analogous
#407B99 #404F99 #5E4099
triadic
#404F99 #99404F #4F9940
tetradic
#404F99 #99407B #998A40 #40995E
square
#404F99 #99407B #998A40 #40995E
split-complementary
#404F99 #995E40 #7B9940
monochromatic
#1C2243 #2E396E #404F99 #5C6CBB #8793CD
Accessibility & contrast
On white
7.51
#404F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#404F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404F99
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404F99 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#1F5197
Tritanopia (blue-blind)
#05606C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #404f99; /* rgb */ color: rgb(64, 79, 153); /* oklch */ color: oklch(45.4% 0.121 272.1);
Tailwind
colors: {
custom: {
50: '#7c80b7',
500: '#404f99',
950: '#000000',
},
}SCSS
$custom: #404f99; $custom-light: #7c80b7; $custom-dark: #000000;
JSON
{
"hex": "#404f99",
"rgb": {
"r": 64,
"g": 79,
"b": 153
},
"hsl": {
"h": 229.888,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.45425,
"c": 0.12116,
"h": 272.1
},
"luminance": 0.08982
}Semantic roles & 50–950 ramp
primary
#404F99
secondary
#B7AE7E
accent
#BC57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80