#31A6BB#31A6BB

#31A6BB is a light, moderate teal. Relative luminance 0.315; OKLCH L 67.1% C 0.104 H 212.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#31A6BB
RGBrgb(49, 166, 187)
HSLhsl(189, 58%, 46%)
HSVhsv(189, 74%, 73%)
CMYKcmyk(73.8%, 11.2%, 0%, 26.7%)
CIE-LABlab(62.94, -24.79, -20.06)
CIE-LCHlch(62.94, 31.89, 218.98°)
OKLaboklab(67.07% -0.088 -0.0559)
OKLCHoklch(67.07% 0.104 212.4)
XYZxyz(23.8686, 31.5104, 51.8282)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A6BB #BB4631
analogous
#31BB8B #31A6BB #3161BB
triadic
#31A6BB #BB31A6 #A6BB31
tetradic
#31A6BB #8B31BB #BB4631 #61BB31
square
#31A6BB #8B31BB #BB4631 #61BB31
split-complementary
#31A6BB #BB3161 #BB8B31
monochromatic
#18505A #247B8B #31A6BB #56C0D3 #87D2E0

Accessibility & contrast

On white

2.88
#31A6BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#31A6BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A6BB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A6BB#FFFFFF#000000##000000
##31A6BB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A0BC
Deuteranopia (green-blind)
#8392BB
Tritanopia (blue-blind)
#00AEAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31a6bb;
/* rgb */ color: rgb(49, 166, 187);
/* oklch */ color: oklch(67.1% 0.104 212.4);
Tailwind
colors: {
  custom: {
    50: '#7ec0cf',
    500: '#31a6bb',
    950: '#000000',
  },
}
SCSS
$custom: #31a6bb;
$custom-light: #7ec0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#31a6bb",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 187
  },
  "hsl": {
    "h": 189.13,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67074,
    "c": 0.10423,
    "h": 212.4
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#31A6BB
secondary
#C98A7F
accent
#5E46E2
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A6BB

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

Preview Lab → · Contrast checker → · Palette generator →

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