#407271#407271

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

Color values

HEX#407271
RGBrgb(64, 114, 113)
HSLhsl(179, 28%, 35%)
HSVhsv(179, 44%, 45%)
CMYKcmyk(43.9%, 0%, 0.9%, 55.3%)
CIE-LABlab(44.68, -17.08, -4.73)
CIE-LCHlch(44.68, 17.73, 195.47°)
OKLaboklab(51.67% -0.0526 -0.013)
OKLCHoklch(51.67% 0.054 193.9)
XYZxyz(11.1112, 14.3160, 17.7973)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407271 #724041
analogous
#407258 #407271 #405A72
triadic
#407271 #714072 #727140
tetradic
#407271 #584072 #724041 #5A7240
square
#407271 #584072 #724041 #5A7240
split-complementary
#407271 #72405A #725840
monochromatic
#142423 #2A4B4A #407271 #569998 #79B4B2

Accessibility & contrast

On white

5.44
#407271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#407271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407271
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407271#FFFFFF#000000##FFFFFF
##4072711.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6E71
Deuteranopia (green-blind)
#636771
Tritanopia (blue-blind)
#297572
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #407271;
/* rgb */ color: rgb(64, 114, 113);
/* oklch */ color: oklch(51.7% 0.054 193.9);
Tailwind
colors: {
  custom: {
    50: '#789a99',
    500: '#407271',
    950: '#000000',
  },
}
SCSS
$custom: #407271;
$custom-light: #789a99;
$custom-dark: #000000;
JSON
{
  "hex": "#407271",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 178.8,
    "s": 28.09,
    "l": 34.902
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.05416,
    "h": 193.9
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

primary
#407271
secondary
#9F6F70
accent
#6365C4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #407271

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

Preview Lab → · Contrast checker → · Palette generator →

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