#40579C#40579C
#40579C is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.3% C 0.115 H 268.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #40579C |
|---|---|
| RGB | rgb(64, 87, 156) |
| HSL | hsl(225, 42%, 43%) |
| HSV | hsv(225, 59%, 61%) |
| CMYK | cmyk(59%, 44.2%, 0%, 38.8%) |
| CIE-LAB | lab(38.39, 13.03, -40.34) |
| CIE-LCH | lch(38.39, 42.39, 287.90°) |
| OKLab | oklab(47.35% -0.0041 -0.1148) |
| OKLCH | oklch(47.35% 0.115 268) |
| XYZ | xyz(11.5213, 10.3058, 32.8281) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.83
Dusky Blue
#475F94
ΔE00 3.15
Dusk Blue
#26538D
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 5.53
Twilight
#4E518B
ΔE00 5.53
Light Navy Blue
#2E5A88
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40579C #9C8540
analogous
#40859C #40579C #57409C
triadic
#40579C #9C4057 #579C40
tetradic
#40579C #9C4085 #9C8540 #409C57
square
#40579C #9C4085 #9C8540 #409C57
split-complementary
#40579C #9C5740 #859C40
monochromatic
#1C2745 #2E3F71 #40579C #5D75BC #889ACE
Accessibility & contrast
On white
6.86
#40579C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#40579C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #40579C
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40579C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40579C | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385F9F
Deuteranopia (green-blind)
#2C579B
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #40579c; /* rgb */ color: rgb(64, 87, 156); /* oklch */ color: oklch(47.3% 0.115 268.0);
Tailwind
colors: {
custom: {
50: '#7d86b9',
500: '#40579c',
950: '#000000',
},
}SCSS
$custom: #40579c; $custom-light: #7d86b9; $custom-dark: #000000;
JSON
{
"hex": "#40579c",
"rgb": {
"r": 64,
"g": 87,
"b": 156
},
"hsl": {
"h": 225,
"s": 41.818,
"l": 43.137
},
"oklch": {
"l": 0.47347,
"c": 0.11491,
"h": 268
},
"luminance": 0.10307
}Semantic roles & 50–950 ramp
primary
#40579C
secondary
#B9AA7F
accent
#B356D2
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80