#31A7B7#31A7B7

#31A7B7 is a light, moderate teal. Relative luminance 0.317; OKLCH L 67.2% C 0.103 H 208.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#31A7B7
RGBrgb(49, 167, 183)
HSLhsl(187, 58%, 45%)
HSVhsv(187, 73%, 72%)
CMYKcmyk(73.2%, 8.7%, 0%, 28.2%)
CIE-LABlab(63.10, -26.55, -17.58)
CIE-LCHlch(63.10, 31.84, 213.50°)
OKLaboklab(67.16% -0.0906 -0.0489)
OKLCHoklch(67.16% 0.103 208.3)
XYZxyz(23.6289, 31.7065, 49.6652)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7B7 #B74131
analogous
#31B784 #31A7B7 #3164B7
triadic
#31A7B7 #B731A7 #A7B731
tetradic
#31A7B7 #8431B7 #B74131 #64B731
square
#31A7B7 #8431B7 #B74131 #64B731
split-complementary
#31A7B7 #B73164 #B78431
monochromatic
#174F56 #247B87 #31A7B7 #54C2D1 #84D3DE

Accessibility & contrast

On white

2.86
#31A7B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#31A7B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7B7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7B7#FFFFFF#000000##000000
##31A7B71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A1B8
Deuteranopia (green-blind)
#8593B7
Tritanopia (blue-blind)
#00AFAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a7b7;
/* rgb */ color: rgb(49, 167, 183);
/* oklch */ color: oklch(67.2% 0.103 208.3);
Tailwind
colors: {
  custom: {
    50: '#7dc1cc',
    500: '#31a7b7',
    950: '#000000',
  },
}
SCSS
$custom: #31a7b7;
$custom-light: #7dc1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7b7",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 183
  },
  "hsl": {
    "h": 187.164,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67159,
    "c": 0.10298,
    "h": 208.3
  },
  "luminance": 0.31709
}

Semantic roles & 50–950 ramp

primary
#31A7B7
secondary
#C8857C
accent
#5947E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A7B7

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

Preview Lab → · Contrast checker → · Palette generator →

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