#31A8BD#31A8BD

#31A8BD is a light, moderate teal. Relative luminance 0.323; OKLCH L 67.6% C 0.105 H 212.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#31A8BD
RGBrgb(49, 168, 189)
HSLhsl(189, 59%, 47%)
HSVhsv(189, 74%, 74%)
CMYKcmyk(74.1%, 11.1%, 0%, 25.9%)
CIE-LABlab(63.61, -25.17, -20.15)
CIE-LCHlch(63.61, 32.24, 218.67°)
OKLaboklab(67.64% -0.0891 -0.0561)
OKLCHoklch(67.64% 0.105 212.2)
XYZxyz(24.4506, 32.3294, 53.0858)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8BD #BD4631
analogous
#31BD8C #31A8BD #3162BD
triadic
#31A8BD #BD31A8 #A8BD31
tetradic
#31A8BD #8C31BD #BD4631 #62BD31
square
#31A8BD #8C31BD #BD4631 #62BD31
split-complementary
#31A8BD #BD3162 #BD8C31
monochromatic
#18525C #247D8C #31A8BD #58C1D4 #88D3E0

Accessibility & contrast

On white

2.81
#31A8BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#31A8BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8BD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8BD#FFFFFF#000000##000000
##31A8BD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A2BE
Deuteranopia (green-blind)
#8494BD
Tritanopia (blue-blind)
#00B1AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a8bd;
/* rgb */ color: rgb(49, 168, 189);
/* oklch */ color: oklch(67.6% 0.105 212.2);
Tailwind
colors: {
  custom: {
    50: '#7ec2d1',
    500: '#31a8bd',
    950: '#000000',
  },
}
SCSS
$custom: #31a8bd;
$custom-light: #7ec2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8bd",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 189
  },
  "hsl": {
    "h": 189,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.67644,
    "c": 0.10534,
    "h": 212.2
  },
  "luminance": 0.32332
}

Semantic roles & 50–950 ramp

primary
#31A8BD
secondary
#CA8B80
accent
#5D46E2
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A8BD

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

Preview Lab → · Contrast checker → · Palette generator →

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