#404F95#404F95
#404F95 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.2% C 0.115 H 272.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #404F95 |
|---|---|
| RGB | rgb(64, 79, 149) |
| HSL | hsl(229, 40%, 42%) |
| HSV | hsv(229, 57%, 58%) |
| CMYK | cmyk(57%, 47%, 0%, 41.6%) |
| CIE-LAB | lab(35.70, 15.81, -40.42) |
| CIE-LCH | lch(35.70, 43.40, 291.36°) |
| OKLab | oklab(45.15% 0.0039 -0.1152) |
| OKLCH | oklch(45.15% 0.115 272) |
| XYZ | xyz(10.3334, 8.8511, 29.5919) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 5.12
Denim Blue
#3B5B92
ΔE00 5.17
Blueberry
#464196
ΔE00 5.52
Dusky Blue
#475F94
ΔE00 5.55
Dusk
#4E5481
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404F95 #958640
analogous
#407A95 #404F95 #5C4095
triadic
#404F95 #95404F #4F9540
tetradic
#404F95 #95407A #958640 #40955C
square
#404F95 #95407A #958640 #40955C
split-complementary
#404F95 #955C40 #7A9540
monochromatic
#1B223F #2E386A #404F95 #5A6BB8 #8591CB
Accessibility & contrast
On white
7.58
#404F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#404F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404F95
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404F95 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#0F5E6B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #404f95; /* rgb */ color: rgb(64, 79, 149); /* oklch */ color: oklch(45.2% 0.115 272.0);
Tailwind
colors: {
custom: {
50: '#7c80b4',
500: '#404f95',
950: '#000000',
},
}SCSS
$custom: #404f95; $custom-light: #7c80b4; $custom-dark: #000000;
JSON
{
"hex": "#404f95",
"rgb": {
"r": 64,
"g": 79,
"b": 149
},
"hsl": {
"h": 229.412,
"s": 39.906,
"l": 41.765
},
"oklch": {
"l": 0.45153,
"c": 0.11523,
"h": 272
},
"luminance": 0.08852
}Semantic roles & 50–950 ramp
primary
#404F95
secondary
#B5AB7C
accent
#BB58D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80