#31A2B8#31A2B8

#31A2B8 is a light, moderate teal. Relative luminance 0.300; OKLCH L 66.0% C 0.102 H 213.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#31A2B8
RGBrgb(49, 162, 184)
HSLhsl(190, 58%, 46%)
HSVhsv(190, 73%, 72%)
CMYKcmyk(73.4%, 12%, 0%, 27.8%)
CIE-LABlab(61.61, -23.71, -20.40)
CIE-LCHlch(61.61, 31.27, 220.71°)
OKLaboklab(65.97% -0.0852 -0.0568)
OKLCHoklch(65.97% 0.102 213.7)
XYZxyz(22.8350, 29.9516, 49.9159)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2B8 #B84731
analogous
#31B88A #31A2B8 #315EB8
triadic
#31A2B8 #B831A2 #A2B831
tetradic
#31A2B8 #8A31B8 #B84731 #5EB831
square
#31A2B8 #8A31B8 #B84731 #5EB831
split-complementary
#31A2B8 #B8315E #B88A31
monochromatic
#174D57 #247788 #31A2B8 #55BDD2 #85D0DE

Accessibility & contrast

On white

3.00
#31A2B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#31A2B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A2B8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2B8#FFFFFF#000000##000000
##31A2B81.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#929DB9
Deuteranopia (green-blind)
#7F8FB8
Tritanopia (blue-blind)
#00ABA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a2b8;
/* rgb */ color: rgb(49, 162, 184);
/* oklch */ color: oklch(66.0% 0.102 213.7);
Tailwind
colors: {
  custom: {
    50: '#7dbdcd',
    500: '#31a2b8',
    950: '#000000',
  },
}
SCSS
$custom: #31a2b8;
$custom-light: #7dbdcd;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2b8",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 184
  },
  "hsl": {
    "h": 189.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.10244,
    "h": 213.7
  },
  "luminance": 0.29954
}

Semantic roles & 50–950 ramp

primary
#31A2B8
secondary
#C8897D
accent
#6047E1
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A2B8

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

Preview Lab → · Contrast checker → · Palette generator →

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