#31A7BA#31A7BA

#31A7BA is a light, moderate teal. Relative luminance 0.318; OKLCH L 67.3% C 0.104 H 210.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#31A7BA
RGBrgb(49, 167, 186)
HSLhsl(188, 58%, 46%)
HSVhsv(188, 74%, 73%)
CMYKcmyk(73.7%, 10.2%, 0%, 27.1%)
CIE-LABlab(63.20, -25.61, -19.09)
CIE-LCHlch(63.20, 31.95, 216.70°)
OKLaboklab(67.28% -0.0894 -0.0531)
OKLCHoklch(67.28% 0.104 210.7)
XYZxyz(23.9444, 31.8327, 51.3272)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7BA #BA4431
analogous
#31BA88 #31A7BA #3162BA
triadic
#31A7BA #BA31A7 #A7BA31
tetradic
#31A7BA #8831BA #BA4431 #62BA31
square
#31A7BA #8831BA #BA4431 #62BA31
split-complementary
#31A7BA #BA3162 #BA8831
monochromatic
#175059 #247C8A #31A7BA #56C1D2 #86D3DF

Accessibility & contrast

On white

2.85
#31A7BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#31A7BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7BA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7BA#FFFFFF#000000##000000
##31A7BA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A1BB
Deuteranopia (green-blind)
#8493BA
Tritanopia (blue-blind)
#00AFAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a7ba;
/* rgb */ color: rgb(49, 167, 186);
/* oklch */ color: oklch(67.3% 0.104 210.7);
Tailwind
colors: {
  custom: {
    50: '#7ec1ce',
    500: '#31a7ba',
    950: '#000000',
  },
}
SCSS
$custom: #31a7ba;
$custom-light: #7ec1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7ba",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 186
  },
  "hsl": {
    "h": 188.321,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.67278,
    "c": 0.10401,
    "h": 210.7
  },
  "luminance": 0.31836
}

Semantic roles & 50–950 ramp

primary
#31A7BA
secondary
#C9887E
accent
#5C46E2
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A7BA

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

Preview Lab → · Contrast checker → · Palette generator →

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