#42587F#42587F
#42587F is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.0% C 0.070 H 261.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #42587F |
|---|---|
| RGB | rgb(66, 88, 127) |
| HSL | hsl(218, 32%, 38%) |
| HSV | hsv(218, 48%, 50%) |
| CMYK | cmyk(48%, 30.7%, 0%, 50.2%) |
| CIE-LAB | lab(37.24, 3.08, -24.55) |
| CIE-LCH | lch(37.24, 24.75, 277.16°) |
| OKLab | oklab(45.99% -0.0103 -0.0688) |
| OKLCH | oklch(45.99% 0.07 261.4) |
| XYZ | xyz(9.5660, 9.6694, 21.4369) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.56
Dusky Blue
#475F94
ΔE00 3.84
Light Navy Blue
#2E5A88
ΔE00 4.76
Dusk
#4E5481
ΔE00 5.02
Dusk Blue
#26538D
ΔE00 5.13
Denim (survey)
#3B638C
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42587F #7F6942
analogous
#42767F #42587F #4B427F
triadic
#42587F #7F4258 #587F42
tetradic
#42587F #7F4276 #7F6942 #427F4B
square
#42587F #7F4276 #7F6942 #427F4B
split-complementary
#42587F #7F4B42 #767F42
monochromatic
#18202E #2D3C57 #42587F #5774A7 #7F95BC
Accessibility & contrast
On white
7.16
#42587F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#42587F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42587F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42587F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42587F | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495B81
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#2A6066
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #42587f; /* rgb */ color: rgb(66, 88, 127); /* oklch */ color: oklch(46.0% 0.070 261.4);
Tailwind
colors: {
custom: {
50: '#7a87a4',
500: '#42587f',
950: '#000000',
},
}SCSS
$custom: #42587f; $custom-light: #7a87a4; $custom-dark: #000000;
JSON
{
"hex": "#42587f",
"rgb": {
"r": 66,
"g": 88,
"b": 127
},
"hsl": {
"h": 218.361,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.45986,
"c": 0.06953,
"h": 261.4
},
"luminance": 0.0967
}Semantic roles & 50–950 ramp
primary
#42587F
secondary
#A79575
accent
#A260C8
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B0F
muted
#7B7C7F