#404E98#404E98
#404E98 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.121 H 272.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #404E98 |
|---|---|
| RGB | rgb(64, 78, 152) |
| HSL | hsl(230, 41%, 42%) |
| HSV | hsv(230, 58%, 60%) |
| CMYK | cmyk(57.9%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.61, 17.51, -42.38) |
| CIE-LCH | lch(35.61, 45.85, 292.45°) |
| OKLab | oklab(45.15% 0.0055 -0.1209) |
| OKLCH | oklch(45.15% 0.121 272.6) |
| XYZ | xyz(10.5044, 8.8050, 30.8457) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.26
Blueberry
#464196
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.21
Denim Blue
#3B5B92
ΔE00 5.60
Dusky Blue
#475F94
ΔE00 5.99
Cobalt
#0047AB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404E98 #988A40
analogous
#407A98 #404E98 #5E4098
triadic
#404E98 #98404E #4E9840
tetradic
#404E98 #98407A #988A40 #40985E
square
#404E98 #98407A #988A40 #40985E
split-complementary
#404E98 #985E40 #7A9840
monochromatic
#1C2242 #2E386D #404E98 #5B6ABA #8691CC
Accessibility & contrast
On white
7.61
#404E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#404E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404E98
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404E98 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#1E5096
Tritanopia (blue-blind)
#085F6B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #404e98; /* rgb */ color: rgb(64, 78, 152); /* oklch */ color: oklch(45.1% 0.121 272.6);
Tailwind
colors: {
custom: {
50: '#7c7fb7',
500: '#404e98',
950: '#000000',
},
}SCSS
$custom: #404e98; $custom-light: #7c7fb7; $custom-dark: #000000;
JSON
{
"hex": "#404e98",
"rgb": {
"r": 64,
"g": 78,
"b": 152
},
"hsl": {
"h": 230.455,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.45145,
"c": 0.12106,
"h": 272.6
},
"luminance": 0.08806
}Semantic roles & 50–950 ramp
primary
#404E98
secondary
#B7AE7D
accent
#BD57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80