#317271#317271

#317271 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.0% C 0.066 H 193.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#317271
RGBrgb(49, 114, 113)
HSLhsl(179, 40%, 32%)
HSVhsv(179, 57%, 45%)
CMYKcmyk(57%, 0%, 0.9%, 55.3%)
CIE-LABlab(44.06, -20.78, -5.72)
CIE-LCHlch(44.06, 21.55, 195.40°)
OKLaboklab(51% -0.064 -0.0159)
OKLCHoklch(51% 0.066 193.9)
XYZxyz(10.2633, 13.8789, 17.7576)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317271 #723132
analogous
#317251 #317271 #315372
triadic
#317271 #713172 #727131
tetradic
#317271 #513172 #723132 #537231
square
#317271 #513172 #723132 #537231
split-complementary
#317271 #723153 #725131
monochromatic
#0C1C1C #1F4747 #317271 #439D9B #62BBBA

Accessibility & contrast

On white

5.56
#317271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#317271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317271
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317271#FFFFFF#000000##FFFFFF
##3172711.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D71
Deuteranopia (green-blind)
#616572
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #317271;
/* rgb */ color: rgb(49, 114, 113);
/* oklch */ color: oklch(51.0% 0.066 193.9);
Tailwind
colors: {
  custom: {
    50: '#709b99',
    500: '#317271',
    950: '#000000',
  },
}
SCSS
$custom: #317271;
$custom-light: #709b99;
$custom-dark: #000000;
JSON
{
  "hex": "#317271",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.077,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.06596,
    "h": 193.9
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#317271
secondary
#A35C5D
accent
#585AD0
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #317271

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

Preview Lab → · Contrast checker → · Palette generator →

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