#407178#407178

#407178 is a mid, muted teal. Relative luminance 0.143; OKLCH L 51.7% C 0.054 H 207.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#407178
RGBrgb(64, 113, 120)
HSLhsl(188, 30%, 36%)
HSVhsv(188, 47%, 47%)
CMYKcmyk(46.7%, 5.8%, 0%, 52.9%)
CIE-LABlab(44.60, -14.55, -9.05)
CIE-LCHlch(44.60, 17.14, 211.88°)
OKLaboklab(51.68% -0.0481 -0.0249)
OKLCHoklch(51.68% 0.054 207.4)
XYZxyz(11.4084, 14.2554, 19.9161)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407178 #784740
analogous
#407863 #407178 #405578
triadic
#407178 #784071 #717840
tetradic
#407178 #634078 #784740 #557840
square
#407178 #634078 #784740 #557840
split-complementary
#407178 #784055 #786340
monochromatic
#152628 #2B4B50 #407178 #5597A0 #7AB0B8

Accessibility & contrast

On white

5.45
#407178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#407178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407178
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407178#FFFFFF#000000##FFFFFF
##4071781.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6D78
Deuteranopia (green-blind)
#606778
Tritanopia (blue-blind)
#257573
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #407178;
/* rgb */ color: rgb(64, 113, 120);
/* oklch */ color: oklch(51.7% 0.054 207.4);
Tailwind
colors: {
  custom: {
    50: '#799a9f',
    500: '#407178',
    950: '#000000',
  },
}
SCSS
$custom: #407178;
$custom-light: #799a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#407178",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 120
  },
  "hsl": {
    "h": 187.5,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.05415,
    "h": 207.4
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#407178
secondary
#A37771
accent
#6E61C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #407178

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#407178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva