#31939E#31939E

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

Color values

HEX#31939E
RGBrgb(49, 147, 158)
HSLhsl(186, 53%, 41%)
HSVhsv(186, 69%, 62%)
CMYKcmyk(69%, 7%, 0%, 38%)
CIE-LABlab(56.07, -24.23, -14.07)
CIE-LCHlch(56.07, 28.02, 210.14°)
OKLaboklab(61.2% -0.0807 -0.039)
OKLCHoklch(61.2% 0.09 205.8)
XYZxyz(17.8692, 23.9870, 36.0293)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31939E #9E3C31
analogous
#319E72 #31939E #315C9E
triadic
#31939E #9E3193 #939E31
tetradic
#31939E #72319E #9E3C31 #5C9E31
square
#31939E #72319E #9E3C31 #5C9E31
split-complementary
#31939E #9E315C #9E7231
monochromatic
#143C41 #23686F #31939E #46B9C6 #75CBD4

Accessibility & contrast

On white

3.62
#31939E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#31939E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31939E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31939E#FFFFFF#000000##000000
##31939E1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31939e;
/* rgb */ color: rgb(49, 147, 158);
/* oklch */ color: oklch(61.2% 0.090 205.8);
Tailwind
colors: {
  custom: {
    50: '#78b3ba',
    500: '#31939e',
    950: '#000000',
  },
}
SCSS
$custom: #31939e;
$custom-light: #78b3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31939e",
  "rgb": {
    "r": 49,
    "g": 147,
    "b": 158
  },
  "hsl": {
    "h": 186.055,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61201,
    "c": 0.08969,
    "h": 205.8
  },
  "luminance": 0.23989
}

Semantic roles & 50–950 ramp

primary
#31939E
secondary
#BC766E
accent
#5A4CDC
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31939E

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

Preview Lab → · Contrast checker → · Palette generator →

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