#31938F#31938F

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

Color values

HEX#31938F
RGBrgb(49, 147, 143)
HSLhsl(178, 50%, 38%)
HSVhsv(178, 67%, 58%)
CMYKcmyk(66.7%, 0%, 2.7%, 42.4%)
CIE-LABlab(55.59, -28.76, -6.20)
CIE-LCHlch(55.59, 29.42, 192.16°)
OKLaboklab(60.64% -0.0875 -0.0173)
OKLCHoklch(60.64% 0.089 191.2)
XYZxyz(16.6560, 23.5017, 29.6398)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31938F #933135
analogous
#31935E #31938F #316693
triadic
#31938F #8F3193 #938F31
tetradic
#31938F #5E3193 #933135 #669331
square
#31938F #5E3193 #933135 #669331
split-complementary
#31938F #933166 #935E31
monochromatic
#123736 #226562 #31938F #41C0BB #6FCFCB

Accessibility & contrast

On white

3.68
#31938F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#31938F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31938F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31938F#FFFFFF#000000##000000
##31938F1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8B8F
Deuteranopia (green-blind)
#7B8190
Tritanopia (blue-blind)
#009792
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31938f;
/* rgb */ color: rgb(49, 147, 143);
/* oklch */ color: oklch(60.6% 0.089 191.2);
Tailwind
colors: {
  custom: {
    50: '#77b3af',
    500: '#31938f',
    950: '#000000',
  },
}
SCSS
$custom: #31938f;
$custom-light: #77b3af;
$custom-dark: #000000;
JSON
{
  "hex": "#31938f",
  "rgb": {
    "r": 49,
    "g": 147,
    "b": 143
  },
  "hsl": {
    "h": 177.551,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.08917,
    "h": 191.2
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

primary
#31938F
secondary
#B7696C
accent
#4E54DA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31938F

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

Preview Lab → · Contrast checker → · Palette generator →

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