#31A2B2#31A2B2

#31A2B2 is a light, moderate teal. Relative luminance 0.297; OKLCH L 65.7% C 0.100 H 208.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#31A2B2
RGBrgb(49, 162, 178)
HSLhsl(187, 57%, 45%)
HSVhsv(187, 72%, 70%)
CMYKcmyk(72.5%, 9%, 0%, 30.2%)
CIE-LABlab(61.40, -25.61, -17.35)
CIE-LCHlch(61.40, 30.93, 214.13°)
OKLaboklab(65.73% -0.0877 -0.0482)
OKLCHoklch(65.73% 0.1 208.8)
XYZxyz(22.2194, 29.7054, 46.6735)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2B2 #B24131
analogous
#31B282 #31A2B2 #3162B2
triadic
#31A2B2 #B231A2 #A2B231
tetradic
#31A2B2 #8231B2 #B24131 #62B231
square
#31A2B2 #8231B2 #B24131 #62B231
split-complementary
#31A2B2 #B23162 #B28231
monochromatic
#174B52 #247682 #31A2B2 #51BFCF #81D1DC

Accessibility & contrast

On white

3.03
#31A2B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#31A2B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A2B2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2B2#FFFFFF#000000##000000
##31A2B21.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#939CB3
Deuteranopia (green-blind)
#818FB2
Tritanopia (blue-blind)
#00AAA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a2b2;
/* rgb */ color: rgb(49, 162, 178);
/* oklch */ color: oklch(65.7% 0.100 208.8);
Tailwind
colors: {
  custom: {
    50: '#7cbec9',
    500: '#31a2b2',
    950: '#000000',
  },
}
SCSS
$custom: #31a2b2;
$custom-light: #7cbec9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2b2",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 178
  },
  "hsl": {
    "h": 187.442,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.65729,
    "c": 0.10011,
    "h": 208.8
  },
  "luminance": 0.29708
}

Semantic roles & 50–950 ramp

primary
#31A2B2
secondary
#C58379
accent
#5B48E0
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A2B2

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

Preview Lab → · Contrast checker → · Palette generator →

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