#31A8BC#31A8BC

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

Color values

HEX#31A8BC
RGBrgb(49, 168, 188)
HSLhsl(189, 59%, 46%)
HSVhsv(189, 74%, 74%)
CMYKcmyk(73.9%, 10.6%, 0%, 26.3%)
CIE-LABlab(63.58, -25.49, -19.64)
CIE-LCHlch(63.58, 32.18, 217.62°)
OKLaboklab(67.6% -0.0896 -0.0547)
OKLCHoklch(67.6% 0.105 211.4)
XYZxyz(24.3424, 32.2862, 52.5161)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8BC #BC4531
analogous
#31BC8B #31A8BC #3163BC
triadic
#31A8BC #BC31A8 #A8BC31
tetradic
#31A8BC #8B31BC #BC4531 #63BC31
square
#31A8BC #8B31BC #BC4531 #63BC31
split-complementary
#31A8BC #BC3163 #BC8B31
monochromatic
#18515B #247D8B #31A8BC #57C1D3 #88D3E0

Accessibility & contrast

On white

2.82
#31A8BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#31A8BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8BC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8BC#FFFFFF#000000##000000
##31A8BC1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A2BD
Deuteranopia (green-blind)
#8594BC
Tritanopia (blue-blind)
#00B0AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a8bc;
/* rgb */ color: rgb(49, 168, 188);
/* oklch */ color: oklch(67.6% 0.105 211.4);
Tailwind
colors: {
  custom: {
    50: '#7ec2d0',
    500: '#31a8bc',
    950: '#000000',
  },
}
SCSS
$custom: #31a8bc;
$custom-light: #7ec2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8bc",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 188
  },
  "hsl": {
    "h": 188.633,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.10494,
    "h": 211.4
  },
  "luminance": 0.32289
}

Semantic roles & 50–950 ramp

primary
#31A8BC
secondary
#CA8A7F
accent
#5C46E2
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A8BC

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

Preview Lab → · Contrast checker → · Palette generator →

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