#404F98#404F98
#404F98 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.4% C 0.120 H 272.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #404F98 |
|---|---|
| RGB | rgb(64, 79, 152) |
| HSL | hsl(230, 41%, 42%) |
| HSV | hsv(230, 58%, 60%) |
| CMYK | cmyk(57.9%, 48%, 0%, 40.4%) |
| CIE-LAB | lab(35.88, 16.85, -41.93) |
| CIE-LCH | lch(35.88, 45.19, 291.89°) |
| OKLab | oklab(45.36% 0.0044 -0.1196) |
| OKLCH | oklch(45.36% 0.12 272.1) |
| XYZ | xyz(10.5760, 8.9482, 30.8695) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 5.19
Denim Blue
#3B5B92
ΔE00 5.25
Blueberry
#464196
ΔE00 5.41
Dusky Blue
#475F94
ΔE00 5.64
Cobalt
#0047AB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404F98 #988940
analogous
#407B98 #404F98 #5D4098
triadic
#404F98 #98404F #4F9840
tetradic
#404F98 #98407B #988940 #40985D
square
#404F98 #98407B #988940 #40985D
split-complementary
#404F98 #985D40 #7B9840
monochromatic
#1C2242 #2E396D #404F98 #5B6BBA #8692CC
Accessibility & contrast
On white
7.53
#404F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#404F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404F98
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404F98 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D589B
Deuteranopia (green-blind)
#205196
Tritanopia (blue-blind)
#075F6C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #404f98; /* rgb */ color: rgb(64, 79, 152); /* oklch */ color: oklch(45.4% 0.120 272.1);
Tailwind
colors: {
custom: {
50: '#7c80b7',
500: '#404f98',
950: '#000000',
},
}SCSS
$custom: #404f98; $custom-light: #7c80b7; $custom-dark: #000000;
JSON
{
"hex": "#404f98",
"rgb": {
"r": 64,
"g": 79,
"b": 152
},
"hsl": {
"h": 229.773,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.45357,
"c": 0.11969,
"h": 272.1
},
"luminance": 0.08949
}Semantic roles & 50–950 ramp
primary
#404F98
secondary
#B7AD7D
accent
#BC57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80