#31A2B4#31A2B4

#31A2B4 is a light, moderate teal. Relative luminance 0.298; OKLCH L 65.8% C 0.101 H 210.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#31A2B4
RGBrgb(49, 162, 180)
HSLhsl(188, 57%, 45%)
HSVhsv(188, 73%, 71%)
CMYKcmyk(72.8%, 10%, 0%, 29.4%)
CIE-LABlab(61.47, -24.98, -18.37)
CIE-LCHlch(61.47, 31.00, 216.34°)
OKLaboklab(65.81% -0.0869 -0.0511)
OKLCHoklch(65.81% 0.101 210.5)
XYZxyz(22.4216, 29.7863, 47.7388)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2B4 #B44331
analogous
#31B484 #31A2B4 #3161B4
triadic
#31A2B4 #B431A2 #A2B431
tetradic
#31A2B4 #8431B4 #B44331 #61B431
square
#31A2B4 #8431B4 #B44331 #61B431
split-complementary
#31A2B4 #B43161 #B48431
monochromatic
#174B54 #247784 #31A2B4 #52BFD0 #82D1DD

Accessibility & contrast

On white

3.02
#31A2B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#31A2B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A2B4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2B4#FFFFFF#000000##000000
##31A2B41.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a2b4;
/* rgb */ color: rgb(49, 162, 180);
/* oklch */ color: oklch(65.8% 0.101 210.5);
Tailwind
colors: {
  custom: {
    50: '#7dbeca',
    500: '#31a2b4',
    950: '#000000',
  },
}
SCSS
$custom: #31a2b4;
$custom-light: #7dbeca;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2b4",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 180
  },
  "hsl": {
    "h": 188.244,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.65809,
    "c": 0.1008,
    "h": 210.5
  },
  "luminance": 0.29789
}

Semantic roles & 50–950 ramp

primary
#31A2B4
secondary
#C6857B
accent
#5C47E0
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A2B4

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

Preview Lab → · Contrast checker → · Palette generator →

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