#31897E#31897E

#31897E is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.5% C 0.085 H 183.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#31897E
RGBrgb(49, 137, 126)
HSLhsl(173, 47%, 36%)
HSVhsv(173, 64%, 54%)
CMYKcmyk(64.2%, 0%, 8%, 46.3%)
CIE-LABlab(51.89, -28.73, -1.83)
CIE-LCHlch(51.89, 28.79, 183.64°)
OKLaboklab(57.48% -0.0845 -0.0054)
OKLCHoklch(57.48% 0.085 183.7)
XYZxyz(13.9764, 20.0492, 22.8679)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31897E #89313C
analogous
#318952 #31897E #316889
triadic
#31897E #7E3189 #897E31
tetradic
#31897E #523189 #89313C #688931
square
#31897E #523189 #89313C #688931
split-complementary
#31897E #893168 #895231
monochromatic
#112F2B #215C55 #31897E #41B6A7 #6BCABE

Accessibility & contrast

On white

4.19
#31897E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#31897E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31897E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31897E#FFFFFF#000000##000000
##31897E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83817E
Deuteranopia (green-blind)
#75787F
Tritanopia (blue-blind)
#008C86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #31897e;
/* rgb */ color: rgb(49, 137, 126);
/* oklch */ color: oklch(57.5% 0.085 183.7);
Tailwind
colors: {
  custom: {
    50: '#74aca3',
    500: '#31897e',
    950: '#000000',
  },
}
SCSS
$custom: #31897e;
$custom-light: #74aca3;
$custom-dark: #000000;
JSON
{
  "hex": "#31897e",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 126
  },
  "hsl": {
    "h": 172.5,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.08465,
    "h": 183.7
  },
  "luminance": 0.20051
}

Semantic roles & 50–950 ramp

primary
#31897E
secondary
#B1646E
accent
#5162D7
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #31897E

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

Preview Lab → · Contrast checker → · Palette generator →

#31897E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva