#42547F#42547F
#42547F is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.074 H 266.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #42547F |
|---|---|
| RGB | rgb(66, 84, 127) |
| HSL | hsl(222, 32%, 38%) |
| HSV | hsv(222, 48%, 50%) |
| CMYK | cmyk(48%, 33.9%, 0%, 50.2%) |
| CIE-LAB | lab(36.04, 5.64, -26.43) |
| CIE-LCH | lch(36.04, 27.02, 282.04°) |
| OKLab | oklab(45.05% -0.005 -0.0742) |
| OKLCH | oklch(45.05% 0.074 266.2) |
| XYZ | xyz(9.2466, 9.0306, 21.3304) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.59
Denim Blue
#3B5B92
ΔE00 4.49
Twilight
#4E518B
ΔE00 4.51
Dusky Blue
#475F94
ΔE00 4.64
Dusk Blue
#26538D
ΔE00 5.67
Light Navy Blue
#2E5A88
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42547F #7F6D42
analogous
#42727F #42547F #4E427F
triadic
#42547F #7F4254 #547F42
tetradic
#42547F #7F4272 #7F6D42 #427F4E
square
#42547F #7F4272 #7F6D42 #427F4E
split-complementary
#42547F #7F4E42 #727F42
monochromatic
#181F2E #2D3957 #42547F #576FA7 #7F91BC
Accessibility & contrast
On white
7.48
#42547F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#42547F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42547F
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42547F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42547F | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#3E527E
Tritanopia (blue-blind)
#2B5D63
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #42547f; /* rgb */ color: rgb(66, 84, 127); /* oklch */ color: oklch(45.1% 0.074 266.2);
Tailwind
colors: {
custom: {
50: '#7a83a4',
500: '#42547f',
950: '#000000',
},
}SCSS
$custom: #42547f; $custom-light: #7a83a4; $custom-dark: #000000;
JSON
{
"hex": "#42547f",
"rgb": {
"r": 66,
"g": 84,
"b": 127
},
"hsl": {
"h": 222.295,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.45052,
"c": 0.07437,
"h": 266.2
},
"luminance": 0.09031
}Semantic roles & 50–950 ramp
primary
#42547F
secondary
#A79975
accent
#A960C8
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A0F
muted
#7B7C7F