#42787F#42787F
#42787F is a mid, muted teal. Relative luminance 0.161; OKLCH L 53.8% C 0.058 H 206.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #42787F |
|---|---|
| RGB | rgb(66, 120, 127) |
| HSL | hsl(187, 32%, 38%) |
| HSV | hsv(187, 48%, 50%) |
| CMYK | cmyk(48%, 5.5%, 0%, 50.2%) |
| CIE-LAB | lab(47.13, -15.90, -9.41) |
| CIE-LCH | lch(47.13, 18.47, 210.63°) |
| OKLab | oklab(53.82% -0.0523 -0.0259) |
| OKLCH | oklch(53.82% 0.058 206.4) |
| XYZ | xyz(12.7925, 16.1225, 22.5124) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 5.27
Ocean
#017B92
ΔE00 6.36
Deep Turquoise
#017374
ΔE00 7.20
Bluegreen
#017A79
ΔE00 7.43
Teal
#008080
ΔE00 7.54
Dark Aquamarine
#017371
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42787F #7F4942
analogous
#427F67 #42787F #42597F
triadic
#42787F #7F4278 #787F42
tetradic
#42787F #67427F #7F4942 #597F42
square
#42787F #67427F #7F4942 #597F42
split-complementary
#42787F #7F4259 #7F6742
monochromatic
#182C2E #2D5257 #42787F #579EA7 #7FB5BC
Accessibility & contrast
On white
4.97
#42787F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#42787F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #42787F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42787F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42787F | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70747F
Deuteranopia (green-blind)
#666D7F
Tritanopia (blue-blind)
#227C7A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #42787f; /* rgb */ color: rgb(66, 120, 127); /* oklch */ color: oklch(53.8% 0.058 206.4);
Tailwind
colors: {
custom: {
50: '#7b9fa4',
500: '#42787f',
950: '#000000',
},
}SCSS
$custom: #42787f; $custom-light: #7b9fa4; $custom-dark: #000000;
JSON
{
"hex": "#42787f",
"rgb": {
"r": 66,
"g": 120,
"b": 127
},
"hsl": {
"h": 186.885,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.53817,
"c": 0.05834,
"h": 206.4
},
"luminance": 0.16123
}Semantic roles & 50–950 ramp
primary
#42787F
secondary
#A77B75
accent
#6C60C8
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E0F
muted
#7C7E7F