#31A5BA#31A5BA

#31A5BA is a light, moderate teal. Relative luminance 0.311; OKLCH L 66.8% C 0.104 H 212.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#31A5BA
RGBrgb(49, 165, 186)
HSLhsl(189, 58%, 46%)
HSVhsv(189, 74%, 73%)
CMYKcmyk(73.7%, 11.3%, 0%, 27.1%)
CIE-LABlab(62.60, -24.60, -20.02)
CIE-LCHlch(62.60, 31.72, 219.14°)
OKLaboklab(66.79% -0.0874 -0.0558)
OKLCHoklch(66.79% 0.104 212.5)
XYZxyz(23.5809, 31.1056, 51.2060)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5BA #BA4631
analogous
#31BA8A #31A5BA #3160BA
triadic
#31A5BA #BA31A5 #A5BA31
tetradic
#31A5BA #8A31BA #BA4631 #60BA31
square
#31A5BA #8A31BA #BA4631 #60BA31
split-complementary
#31A5BA #BA3160 #BA8A31
monochromatic
#174F59 #247A8A #31A5BA #56BFD2 #86D2DF

Accessibility & contrast

On white

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

On black

7.22
#31A5BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5BA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5BA#FFFFFF#000000##000000
##31A5BA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#959FBB
Deuteranopia (green-blind)
#8291BA
Tritanopia (blue-blind)
#00ADAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a5ba;
/* rgb */ color: rgb(49, 165, 186);
/* oklch */ color: oklch(66.8% 0.104 212.5);
Tailwind
colors: {
  custom: {
    50: '#7ec0ce',
    500: '#31a5ba',
    950: '#000000',
  },
}
SCSS
$custom: #31a5ba;
$custom-light: #7ec0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5ba",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 186
  },
  "hsl": {
    "h": 189.197,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.10368,
    "h": 212.5
  },
  "luminance": 0.31108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A5BA

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

Preview Lab → · Contrast checker → · Palette generator →

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