#31A8B8#31A8B8

#31A8B8 is a light, moderate teal. Relative luminance 0.321; OKLCH L 67.4% C 0.104 H 208.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#31A8B8
RGBrgb(49, 168, 184)
HSLhsl(187, 58%, 46%)
HSVhsv(187, 73%, 72%)
CMYKcmyk(73.4%, 8.7%, 0%, 27.8%)
CIE-LABlab(63.44, -26.74, -17.62)
CIE-LCHlch(63.44, 32.03, 213.38°)
OKLaboklab(67.44% -0.0912 -0.049)
OKLCHoklch(67.44% 0.104 208.2)
XYZxyz(23.9172, 32.1161, 50.2766)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8B8 #B84131
analogous
#31B884 #31A8B8 #3164B8
triadic
#31A8B8 #B831A8 #A8B831
tetradic
#31A8B8 #8431B8 #B84131 #64B831
square
#31A8B8 #8431B8 #B84131 #64B831
split-complementary
#31A8B8 #B83164 #B88431
monochromatic
#175057 #247C88 #31A8B8 #55C3D2 #85D4DE

Accessibility & contrast

On white

2.83
#31A8B8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#31A8B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8B8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8B8#FFFFFF#000000##000000
##31A8B81.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A2B9
Deuteranopia (green-blind)
#8694B8
Tritanopia (blue-blind)
#00B0AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a8b8;
/* rgb */ color: rgb(49, 168, 184);
/* oklch */ color: oklch(67.4% 0.104 208.2);
Tailwind
colors: {
  custom: {
    50: '#7ec2cd',
    500: '#31a8b8',
    950: '#000000',
  },
}
SCSS
$custom: #31a8b8;
$custom-light: #7ec2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8b8",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 184
  },
  "hsl": {
    "h": 187.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.10355,
    "h": 208.2
  },
  "luminance": 0.32119
}

Semantic roles & 50–950 ramp

primary
#31A8B8
secondary
#C8867D
accent
#5947E1
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A8B8

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

Preview Lab → · Contrast checker → · Palette generator →

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