#31A3B8#31A3B8

#31A3B8 is a light, moderate teal. Relative luminance 0.303; OKLCH L 66.2% C 0.103 H 212.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#31A3B8
RGBrgb(49, 163, 184)
HSLhsl(189, 58%, 46%)
HSVhsv(189, 73%, 72%)
CMYKcmyk(73.4%, 11.4%, 0%, 27.8%)
CIE-LABlab(61.92, -24.22, -19.94)
CIE-LCHlch(61.92, 31.37, 219.46°)
OKLaboklab(66.22% -0.0862 -0.0555)
OKLCHoklch(66.22% 0.103 212.8)
XYZxyz(23.0118, 30.3053, 49.9748)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A3B8 #B84631
analogous
#31B889 #31A3B8 #3160B8
triadic
#31A3B8 #B831A3 #A3B831
tetradic
#31A3B8 #8931B8 #B84631 #60B831
square
#31A3B8 #8931B8 #B84631 #60B831
split-complementary
#31A3B8 #B83160 #B88931
monochromatic
#174D57 #247888 #31A3B8 #55BED2 #85D1DE

Accessibility & contrast

On white

2.97
#31A3B8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#31A3B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A3B8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A3B8#FFFFFF#000000##000000
##31A3B81.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#939DB9
Deuteranopia (green-blind)
#8090B8
Tritanopia (blue-blind)
#00ABA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a3b8;
/* rgb */ color: rgb(49, 163, 184);
/* oklch */ color: oklch(66.2% 0.103 212.8);
Tailwind
colors: {
  custom: {
    50: '#7dbecd',
    500: '#31a3b8',
    950: '#000000',
  },
}
SCSS
$custom: #31a3b8;
$custom-light: #7dbecd;
$custom-dark: #000000;
JSON
{
  "hex": "#31a3b8",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 184
  },
  "hsl": {
    "h": 189.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66217,
    "c": 0.10256,
    "h": 212.8
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

primary
#31A3B8
secondary
#C8897D
accent
#5F47E1
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A3B8

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

Preview Lab → · Contrast checker → · Palette generator →

#31A3B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva