#31A7B4#31A7B4

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

Color values

HEX#31A7B4
RGBrgb(49, 167, 180)
HSLhsl(186, 57%, 45%)
HSVhsv(186, 73%, 71%)
CMYKcmyk(72.8%, 7.2%, 0%, 29.4%)
CIE-LABlab(63.00, -27.49, -16.05)
CIE-LCHlch(63.00, 31.83, 210.29°)
OKLaboklab(67.04% -0.0919 -0.0446)
OKLCHoklch(67.04% 0.102 205.9)
XYZxyz(23.3200, 31.5829, 48.0382)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7B4 #B43E31
analogous
#31B47F #31A7B4 #3166B4
triadic
#31A7B4 #B431A7 #A7B431
tetradic
#31A7B4 #7F31B4 #B43E31 #66B431
square
#31A7B4 #7F31B4 #B43E31 #66B431
split-complementary
#31A7B4 #B43166 #B47F31
monochromatic
#174E54 #247A84 #31A7B4 #52C3D0 #82D4DD

Accessibility & contrast

On white

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

On black

7.32
#31A7B4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7B4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7B4#FFFFFF#000000##000000
##31A7B41.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A0B5
Deuteranopia (green-blind)
#8693B4
Tritanopia (blue-blind)
#00AEAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31a7b4;
/* rgb */ color: rgb(49, 167, 180);
/* oklch */ color: oklch(67.0% 0.102 205.9);
Tailwind
colors: {
  custom: {
    50: '#7dc1ca',
    500: '#31a7b4',
    950: '#000000',
  },
}
SCSS
$custom: #31a7b4;
$custom-light: #7dc1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7b4",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 180
  },
  "hsl": {
    "h": 185.954,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67042,
    "c": 0.10216,
    "h": 205.9
  },
  "luminance": 0.31586
}

Semantic roles & 50–950 ramp

primary
#31A7B4
secondary
#C6827B
accent
#5747E0
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A7B4

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

Preview Lab → · Contrast checker → · Palette generator →

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