#31A7B5#31A7B5

#31A7B5 is a light, moderate teal. Relative luminance 0.316; OKLCH L 67.1% C 0.102 H 206.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#31A7B5
RGBrgb(49, 167, 181)
HSLhsl(186, 57%, 45%)
HSVhsv(186, 73%, 71%)
CMYKcmyk(72.9%, 7.7%, 0%, 29%)
CIE-LABlab(63.03, -27.18, -16.56)
CIE-LCHlch(63.03, 31.83, 211.36°)
OKLaboklab(67.08% -0.0915 -0.046)
OKLCHoklch(67.08% 0.102 206.7)
XYZxyz(23.4222, 31.6238, 48.5767)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7B5 #B53F31
analogous
#31B581 #31A7B5 #3165B5
triadic
#31A7B5 #B531A7 #A7B531
tetradic
#31A7B5 #8131B5 #B53F31 #65B531
square
#31A7B5 #8131B5 #B53F31 #65B531
split-complementary
#31A7B5 #B53165 #B58131
monochromatic
#174E55 #247B85 #31A7B5 #53C3D0 #83D4DD

Accessibility & contrast

On white

2.87
#31A7B5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#31A7B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7B5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7B5#FFFFFF#000000##000000
##31A7B51.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B6
Deuteranopia (green-blind)
#8693B5
Tritanopia (blue-blind)
#00AEAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a7b5;
/* rgb */ color: rgb(49, 167, 181);
/* oklch */ color: oklch(67.1% 0.102 206.7);
Tailwind
colors: {
  custom: {
    50: '#7dc1cb',
    500: '#31a7b5',
    950: '#000000',
  },
}
SCSS
$custom: #31a7b5;
$custom-light: #7dc1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7b5",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 181
  },
  "hsl": {
    "h": 186.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67081,
    "c": 0.10241,
    "h": 206.7
  },
  "luminance": 0.31627
}

Semantic roles & 50–950 ramp

primary
#31A7B5
secondary
#C7837B
accent
#5747E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A7B5

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

Preview Lab → · Contrast checker → · Palette generator →

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