#31939D#31939D

#31939D is a mid, moderate teal. Relative luminance 0.240; OKLCH L 61.2% C 0.089 H 204.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#31939D
RGBrgb(49, 147, 157)
HSLhsl(186, 52%, 40%)
HSVhsv(186, 69%, 62%)
CMYKcmyk(68.8%, 6.4%, 0%, 38.4%)
CIE-LABlab(56.04, -24.54, -13.55)
CIE-LCHlch(56.04, 28.03, 208.90°)
OKLaboklab(61.16% -0.0812 -0.0376)
OKLCHoklch(61.16% 0.089 204.8)
XYZxyz(17.7835, 23.9527, 35.5779)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31939D #9D3B31
analogous
#319D71 #31939D #315D9D
triadic
#31939D #9D3193 #939D31
tetradic
#31939D #71319D #9D3B31 #5D9D31
square
#31939D #71319D #9D3B31 #5D9D31
split-complementary
#31939D #9D315D #9D7131
monochromatic
#143C40 #22676E #31939D #46B9C5 #75CBD4

Accessibility & contrast

On white

3.63
#31939D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#31939D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31939D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31939D#FFFFFF#000000##000000
##31939D1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#878D9E
Deuteranopia (green-blind)
#77819D
Tritanopia (blue-blind)
#009996
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31939d;
/* rgb */ color: rgb(49, 147, 157);
/* oklch */ color: oklch(61.2% 0.089 204.8);
Tailwind
colors: {
  custom: {
    50: '#78b3b9',
    500: '#31939d',
    950: '#000000',
  },
}
SCSS
$custom: #31939d;
$custom-light: #78b3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31939d",
  "rgb": {
    "r": 49,
    "g": 147,
    "b": 157
  },
  "hsl": {
    "h": 185.556,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.08947,
    "h": 204.8
  },
  "luminance": 0.23955
}

Semantic roles & 50–950 ramp

primary
#31939D
secondary
#BC756E
accent
#594CDC
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31939D

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

Preview Lab → · Contrast checker → · Palette generator →

#31939D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva