#404E99#404E99
#404E99 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.123 H 272.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #404E99 |
|---|---|
| RGB | rgb(64, 78, 153) |
| HSL | hsl(231, 41%, 43%) |
| HSV | hsv(231, 58%, 60%) |
| CMYK | cmyk(58.2%, 49%, 0%, 40%) |
| CIE-LAB | lab(35.67, 17.85, -42.88) |
| CIE-LCH | lch(35.67, 46.45, 292.61°) |
| OKLab | oklab(45.22% 0.0056 -0.1224) |
| OKLCH | oklch(45.22% 0.123 272.6) |
| XYZ | xyz(10.5866, 8.8379, 31.2788) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.37
Blueberry
#464196
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 5.25
Denim Blue
#3B5B92
ΔE00 5.63
Cobalt
#0047AB
ΔE00 5.92
Dusky Blue
#475F94
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404E99 #998B40
analogous
#407A99 #404E99 #5F4099
triadic
#404E99 #99404E #4E9940
tetradic
#404E99 #99407A #998B40 #40995F
square
#404E99 #99407A #998B40 #40995F
split-complementary
#404E99 #995F40 #7A9940
monochromatic
#1C2243 #2E386E #404E99 #5C6BBB #8792CD
Accessibility & contrast
On white
7.59
#404E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#404E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404E99
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404E99 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#1C5097
Tritanopia (blue-blind)
#055F6C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #404e99; /* rgb */ color: rgb(64, 78, 153); /* oklch */ color: oklch(45.2% 0.123 272.6);
Tailwind
colors: {
custom: {
50: '#7c7fb7',
500: '#404e99',
950: '#000000',
},
}SCSS
$custom: #404e99; $custom-light: #7c7fb7; $custom-dark: #000000;
JSON
{
"hex": "#404e99",
"rgb": {
"r": 64,
"g": 78,
"b": 153
},
"hsl": {
"h": 230.562,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.45215,
"c": 0.12253,
"h": 272.6
},
"luminance": 0.08839
}Semantic roles & 50–950 ramp
primary
#404E99
secondary
#B7AE7E
accent
#BE57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80