#42528E#42528E
#42528E is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.5% C 0.100 H 270.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #42528E |
|---|---|
| RGB | rgb(66, 82, 142) |
| HSL | hsl(227, 37%, 41%) |
| HSV | hsv(227, 54%, 56%) |
| CMYK | cmyk(53.5%, 42.3%, 0%, 44.3%) |
| CIE-LAB | lab(36.26, 11.91, -35.26) |
| CIE-LCH | lch(36.26, 37.22, 288.66°) |
| OKLab | oklab(45.49% 0.0013 -0.0999) |
| OKLCH | oklch(45.49% 0.1 270.7) |
| XYZ | xyz(10.1450, 9.1451, 26.8165) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.30
Denim Blue
#3B5B92
ΔE00 4.36
Dusk
#4E5481
ΔE00 4.42
Dusky Blue
#475F94
ΔE00 4.51
Dusk Blue
#26538D
ΔE00 5.63
Cobalt (survey)
#1E488F
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42528E #8E7E42
analogous
#42788E #42528E #58428E
triadic
#42528E #8E4252 #528E42
tetradic
#42528E #8E4278 #8E7E42 #428E58
square
#42528E #8E4278 #8E7E42 #428E58
split-complementary
#42528E #8E5842 #788E42
monochromatic
#1B223A #2F3A64 #42528E #5B6DB3 #8492C6
Accessibility & contrast
On white
7.42
#42528E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#42528E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42528E
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42528E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42528E | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#1F5F69
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #42528e; /* rgb */ color: rgb(66, 82, 142); /* oklch */ color: oklch(45.5% 0.100 270.7);
Tailwind
colors: {
custom: {
50: '#7c82af',
500: '#42528e',
950: '#000000',
},
}SCSS
$custom: #42528e; $custom-light: #7c82af; $custom-dark: #000000;
JSON
{
"hex": "#42528e",
"rgb": {
"r": 66,
"g": 82,
"b": 142
},
"hsl": {
"h": 227.368,
"s": 36.538,
"l": 40.784
},
"oklch": {
"l": 0.45485,
"c": 0.09996,
"h": 270.7
},
"luminance": 0.09146
}Semantic roles & 50–950 ramp
primary
#42528E
secondary
#B1A57B
accent
#B55BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F