#31A7BB#31A7BB

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

Color values

HEX#31A7BB
RGBrgb(49, 167, 187)
HSLhsl(189, 58%, 46%)
HSVhsv(189, 74%, 73%)
CMYKcmyk(73.8%, 10.7%, 0%, 26.7%)
CIE-LABlab(63.24, -25.30, -19.60)
CIE-LCHlch(63.24, 32.00, 217.77°)
OKLaboklab(67.32% -0.089 -0.0546)
OKLCHoklch(67.32% 0.104 211.5)
XYZxyz(24.0511, 31.8754, 51.8891)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7BB #BB4531
analogous
#31BB8A #31A7BB #3162BB
triadic
#31A7BB #BB31A7 #A7BB31
tetradic
#31A7BB #8A31BB #BB4531 #62BB31
square
#31A7BB #8A31BB #BB4531 #62BB31
split-complementary
#31A7BB #BB3162 #BB8A31
monochromatic
#18505A #247C8B #31A7BB #56C1D3 #87D3E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A7BB#FFFFFF#000000##000000
##31A7BB1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a7bb;
/* rgb */ color: rgb(49, 167, 187);
/* oklch */ color: oklch(67.3% 0.104 211.5);
Tailwind
colors: {
  custom: {
    50: '#7ec1cf',
    500: '#31a7bb',
    950: '#000000',
  },
}
SCSS
$custom: #31a7bb;
$custom-light: #7ec1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7bb",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 187
  },
  "hsl": {
    "h": 188.696,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67319,
    "c": 0.10438,
    "h": 211.5
  },
  "luminance": 0.31878
}

Semantic roles & 50–950 ramp

primary
#31A7BB
secondary
#C9897F
accent
#5D46E2
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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