#31957E#31957E

#31957E is a mid, moderate teal. Relative luminance 0.237; OKLCH L 60.6% C 0.098 H 174.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#31957E
RGBrgb(49, 149, 126)
HSLhsl(166, 51%, 39%)
HSVhsv(166, 67%, 58%)
CMYKcmyk(67.1%, 0%, 15.4%, 41.6%)
CIE-LABlab(55.74, -34.42, 3.77)
CIE-LCHlch(55.74, 34.63, 173.75°)
OKLaboklab(60.61% -0.0977 0.0095)
OKLCHoklch(60.61% 0.098 174.5)
XYZxyz(15.7781, 23.6525, 23.4685)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31957E #953148
analogous
#31954C #31957E #317A95
triadic
#31957E #7E3195 #957E31
tetradic
#31957E #4C3195 #953148 #7A9531
square
#31957E #4C3195 #953148 #7A9531
split-complementary
#31957E #95317A #954C31
monochromatic
#133930 #226757 #31957E #42C1A4 #70D0BA

Accessibility & contrast

On white

3.66
#31957E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#31957E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31957E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31957E#FFFFFF#000000##000000
##31957E1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908C7D
Deuteranopia (green-blind)
#828180
Tritanopia (blue-blind)
#00978E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31957e;
/* rgb */ color: rgb(49, 149, 126);
/* oklch */ color: oklch(60.6% 0.098 174.5);
Tailwind
colors: {
  custom: {
    50: '#76b5a3',
    500: '#31957e',
    950: '#000000',
  },
}
SCSS
$custom: #31957e;
$custom-light: #76b5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31957e",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 126
  },
  "hsl": {
    "h": 166.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60607,
    "c": 0.09819,
    "h": 174.5
  },
  "luminance": 0.23654
}

Semantic roles & 50–950 ramp

primary
#31957E
secondary
#B86A7C
accent
#4E6EDA
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #31957E

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

Preview Lab → · Contrast checker → · Palette generator →

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