#31A6B2#31A6B2

#31A6B2 is a light, moderate teal. Relative luminance 0.311; OKLCH L 66.7% C 0.101 H 205.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#31A6B2
RGBrgb(49, 166, 178)
HSLhsl(186, 57%, 45%)
HSVhsv(186, 72%, 70%)
CMYKcmyk(72.5%, 6.7%, 0%, 30.2%)
CIE-LABlab(62.62, -27.61, -15.50)
CIE-LCHlch(62.62, 31.66, 209.31°)
OKLaboklab(66.72% -0.0917 -0.0431)
OKLCHoklch(66.72% 0.101 205.1)
XYZxyz(22.9352, 31.1370, 46.9121)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A6B2 #B23D31
analogous
#31B27D #31A6B2 #3166B2
triadic
#31A6B2 #B231A6 #A6B231
tetradic
#31A6B2 #7D31B2 #B23D31 #66B231
square
#31A6B2 #7D31B2 #B23D31 #66B231
split-complementary
#31A6B2 #B23166 #B27D31
monochromatic
#174C52 #247982 #31A6B2 #51C3CF #81D4DC

Accessibility & contrast

On white

2.91
#31A6B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#31A6B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A6B2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A6B2#FFFFFF#000000##000000
##31A6B21.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#989FB3
Deuteranopia (green-blind)
#8692B2
Tritanopia (blue-blind)
#00ADA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a6b2;
/* rgb */ color: rgb(49, 166, 178);
/* oklch */ color: oklch(66.7% 0.101 205.1);
Tailwind
colors: {
  custom: {
    50: '#7dc0c9',
    500: '#31a6b2',
    950: '#000000',
  },
}
SCSS
$custom: #31a6b2;
$custom-light: #7dc0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a6b2",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 178
  },
  "hsl": {
    "h": 185.581,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66717,
    "c": 0.10135,
    "h": 205.1
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#31A6B2
secondary
#C58079
accent
#5648E0
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A6B2

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

Preview Lab → · Contrast checker → · Palette generator →

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