#42579B#42579B
#42579B is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.4% C 0.113 H 268.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #42579B |
|---|---|
| RGB | rgb(66, 87, 155) |
| HSL | hsl(226, 40%, 43%) |
| HSV | hsv(226, 57%, 61%) |
| CMYK | cmyk(57.4%, 43.9%, 0%, 39.2%) |
| CIE-LAB | lab(38.45, 13.11, -39.64) |
| CIE-LCH | lch(38.45, 41.75, 288.31°) |
| OKLab | oklab(47.41% -0.0022 -0.1127) |
| OKLCH | oklch(47.41% 0.113 268.9) |
| XYZ | xyz(11.5694, 10.3403, 32.3902) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.05
Dusky Blue
#475F94
ΔE00 3.10
Twilight
#4E518B
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.91
Light Navy Blue
#2E5A88
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42579B #9B8642
analogous
#42839B #42579B #5A429B
triadic
#42579B #9B4257 #579B42
tetradic
#42579B #9B4283 #9B8642 #429B5A
square
#42579B #9B4283 #9B8642 #429B5A
split-complementary
#42579B #9B5A42 #839B42
monochromatic
#1D2745 #303F70 #42579B #5F75BB #8A9ACD
Accessibility & contrast
On white
6.84
#42579B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#42579B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #42579B
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42579B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42579B | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395F9E
Deuteranopia (green-blind)
#2E579A
Tritanopia (blue-blind)
#086671
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #42579b; /* rgb */ color: rgb(66, 87, 155); /* oklch */ color: oklch(47.4% 0.113 268.9);
Tailwind
colors: {
custom: {
50: '#7e86b9',
500: '#42579b',
950: '#000000',
},
}SCSS
$custom: #42579b; $custom-light: #7e86b9; $custom-dark: #000000;
JSON
{
"hex": "#42579b",
"rgb": {
"r": 66,
"g": 87,
"b": 155
},
"hsl": {
"h": 225.843,
"s": 40.271,
"l": 43.333
},
"oklch": {
"l": 0.47406,
"c": 0.11276,
"h": 268.9
},
"luminance": 0.10341
}Semantic roles & 50–950 ramp
primary
#42579B
secondary
#B8AB81
accent
#B458D0
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B11
muted
#7C7C80