#31A7BC#31A7BC

#31A7BC is a light, moderate teal. Relative luminance 0.319; OKLCH L 67.4% C 0.105 H 212.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#31A7BC
RGBrgb(49, 167, 188)
HSLhsl(189, 59%, 46%)
HSVhsv(189, 74%, 74%)
CMYKcmyk(73.9%, 11.2%, 0%, 26.3%)
CIE-LABlab(63.28, -24.98, -20.10)
CIE-LCHlch(63.28, 32.07, 218.83°)
OKLaboklab(67.36% -0.0886 -0.056)
OKLCHoklch(67.36% 0.105 212.3)
XYZxyz(24.1585, 31.9184, 52.4548)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7BC #BC4631
analogous
#31BC8C #31A7BC #3162BC
triadic
#31A7BC #BC31A7 #A7BC31
tetradic
#31A7BC #8C31BC #BC4631 #62BC31
square
#31A7BC #8C31BC #BC4631 #62BC31
split-complementary
#31A7BC #BC3162 #BC8C31
monochromatic
#18515B #247C8B #31A7BC #57C0D3 #88D3E0

Accessibility & contrast

On white

2.84
#31A7BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#31A7BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7BC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7BC#FFFFFF#000000##000000
##31A7BC1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A1BD
Deuteranopia (green-blind)
#8493BC
Tritanopia (blue-blind)
#00B0AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a7bc;
/* rgb */ color: rgb(49, 167, 188);
/* oklch */ color: oklch(67.4% 0.105 212.3);
Tailwind
colors: {
  custom: {
    50: '#7ec1d0',
    500: '#31a7bc',
    950: '#000000',
  },
}
SCSS
$custom: #31a7bc;
$custom-light: #7ec1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7bc",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 188
  },
  "hsl": {
    "h": 189.065,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67359,
    "c": 0.10479,
    "h": 212.3
  },
  "luminance": 0.31921
}

Semantic roles & 50–950 ramp

primary
#31A7BC
secondary
#CA8A7F
accent
#5E46E2
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A7BC

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

Preview Lab → · Contrast checker → · Palette generator →

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