#31939B#31939B

#31939B is a mid, moderate teal. Relative luminance 0.239; OKLCH L 61.1% C 0.089 H 202.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#31939B
RGBrgb(49, 147, 155)
HSLhsl(185, 52%, 40%)
HSVhsv(185, 68%, 61%)
CMYKcmyk(68.4%, 5.2%, 0%, 39.2%)
CIE-LABlab(55.97, -25.16, -12.50)
CIE-LCHlch(55.97, 28.10, 206.42°)
OKLaboklab(61.08% -0.0821 -0.0347)
OKLCHoklch(61.08% 0.089 202.9)
XYZxyz(17.6142, 23.8850, 34.6859)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31939B #9B3931
analogous
#319B6E #31939B #315E9B
triadic
#31939B #9B3193 #939B31
tetradic
#31939B #6E319B #9B3931 #5E9B31
square
#31939B #6E319B #9B3931 #5E9B31
split-complementary
#31939B #9B315E #9B6E31
monochromatic
#143B3E #22676D #31939B #45BBC4 #73CCD3

Accessibility & contrast

On white

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

On black

5.78
#31939B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31939B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31939B#FFFFFF#000000##000000
##31939B1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#888D9C
Deuteranopia (green-blind)
#78819B
Tritanopia (blue-blind)
#009995
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31939b;
/* rgb */ color: rgb(49, 147, 155);
/* oklch */ color: oklch(61.1% 0.089 202.9);
Tailwind
colors: {
  custom: {
    50: '#78b3b8',
    500: '#31939b',
    950: '#000000',
  },
}
SCSS
$custom: #31939b;
$custom-light: #78b3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31939b",
  "rgb": {
    "r": 49,
    "g": 147,
    "b": 155
  },
  "hsl": {
    "h": 184.528,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.61084,
    "c": 0.08909,
    "h": 202.9
  },
  "luminance": 0.23887
}

Semantic roles & 50–950 ramp

primary
#31939B
secondary
#BB736D
accent
#574CDB
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31939B

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

Preview Lab → · Contrast checker → · Palette generator →

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