#42579C#42579C
#42579C is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.5% C 0.114 H 269.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #42579C |
|---|---|
| RGB | rgb(66, 87, 156) |
| HSL | hsl(226, 41%, 44%) |
| HSV | hsv(226, 58%, 61%) |
| CMYK | cmyk(57.7%, 44.2%, 0%, 38.8%) |
| CIE-LAB | lab(38.51, 13.46, -40.14) |
| CIE-LCH | lch(38.51, 42.34, 288.53°) |
| OKLab | oklab(47.47% -0.002 -0.1142) |
| OKLCH | oklch(47.47% 0.114 269) |
| XYZ | xyz(11.6537, 10.3741, 32.8343) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.12
Dusky Blue
#475F94
ΔE00 3.17
Twilight
#4E518B
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.82
Light Navy Blue
#2E5A88
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42579C #9C8742
analogous
#42849C #42579C #5A429C
triadic
#42579C #9C4257 #579C42
tetradic
#42579C #9C4284 #9C8742 #429C5A
square
#42579C #9C4284 #9C8742 #429C5A
split-complementary
#42579C #9C5A42 #849C42
monochromatic
#1E2746 #303F71 #42579C #6075BC #8B9ACE
Accessibility & contrast
On white
6.83
#42579C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#42579C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #42579C
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42579C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42579C | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395F9F
Deuteranopia (green-blind)
#2D579B
Tritanopia (blue-blind)
#056672
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #42579c; /* rgb */ color: rgb(66, 87, 156); /* oklch */ color: oklch(47.5% 0.114 269.0);
Tailwind
colors: {
custom: {
50: '#7e86b9',
500: '#42579c',
950: '#000000',
},
}SCSS
$custom: #42579c; $custom-light: #7e86b9; $custom-dark: #000000;
JSON
{
"hex": "#42579c",
"rgb": {
"r": 66,
"g": 87,
"b": 156
},
"hsl": {
"h": 226,
"s": 40.541,
"l": 43.529
},
"oklch": {
"l": 0.4747,
"c": 0.11424,
"h": 269
},
"luminance": 0.10375
}Semantic roles & 50–950 ramp
primary
#42579C
secondary
#B9AC81
accent
#B457D0
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B11
muted
#7C7C80