#31938E#31938E

#31938E is a mid, moderate teal. Relative luminance 0.235; OKLCH L 60.6% C 0.089 H 190.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#31938E
RGBrgb(49, 147, 142)
HSLhsl(177, 50%, 38%)
HSVhsv(177, 67%, 58%)
CMYKcmyk(66.7%, 0%, 3.4%, 42.4%)
CIE-LABlab(55.55, -29.05, -5.67)
CIE-LCHlch(55.55, 29.60, 191.04°)
OKLaboklab(60.61% -0.0879 -0.0158)
OKLCHoklch(60.61% 0.089 190.2)
XYZxyz(16.5806, 23.4716, 29.2426)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31938E #933136
analogous
#31935D #31938E #316793
triadic
#31938E #8E3193 #938E31
tetradic
#31938E #5D3193 #933136 #679331
square
#31938E #5D3193 #933136 #679331
split-complementary
#31938E #933167 #935D31
monochromatic
#123735 #226562 #31938E #41C0B9 #6FCFCA

Accessibility & contrast

On white

3.69
#31938E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#31938E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31938E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31938E#FFFFFF#000000##000000
##31938E1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8B8E
Deuteranopia (green-blind)
#7C808F
Tritanopia (blue-blind)
#009791
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31938e;
/* rgb */ color: rgb(49, 147, 142);
/* oklch */ color: oklch(60.6% 0.089 190.2);
Tailwind
colors: {
  custom: {
    50: '#77b3af',
    500: '#31938e',
    950: '#000000',
  },
}
SCSS
$custom: #31938e;
$custom-light: #77b3af;
$custom-dark: #000000;
JSON
{
  "hex": "#31938e",
  "rgb": {
    "r": 49,
    "g": 147,
    "b": 142
  },
  "hsl": {
    "h": 176.939,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60608,
    "c": 0.08935,
    "h": 190.2
  },
  "luminance": 0.23473
}

Semantic roles & 50–950 ramp

primary
#31938E
secondary
#B7696D
accent
#4E55DA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31938E

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

Preview Lab → · Contrast checker → · Palette generator →

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