#31A8BB#31A8BB

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

Color values

HEX#31A8BB
RGBrgb(49, 168, 187)
HSLhsl(188, 58%, 46%)
HSVhsv(188, 74%, 73%)
CMYKcmyk(73.8%, 10.2%, 0%, 26.7%)
CIE-LABlab(63.54, -25.80, -19.14)
CIE-LCHlch(63.54, 32.12, 216.56°)
OKLaboklab(67.56% -0.09 -0.0533)
OKLCHoklch(67.56% 0.105 210.6)
XYZxyz(24.2350, 32.2432, 51.9504)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8BB #BB4431
analogous
#31BB89 #31A8BB #3163BB
triadic
#31A8BB #BB31A8 #A8BB31
tetradic
#31A8BB #8931BB #BB4431 #63BB31
square
#31A8BB #8931BB #BB4431 #63BB31
split-complementary
#31A8BB #BB3163 #BB8931
monochromatic
#18515A #247C8B #31A8BB #56C2D3 #87D3E0

Accessibility & contrast

On white

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

On black

7.45
#31A8BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8BB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8BB#FFFFFF#000000##000000
##31A8BB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a8bb;
/* rgb */ color: rgb(49, 168, 187);
/* oklch */ color: oklch(67.6% 0.105 210.6);
Tailwind
colors: {
  custom: {
    50: '#7ec2cf',
    500: '#31a8bb',
    950: '#000000',
  },
}
SCSS
$custom: #31a8bb;
$custom-light: #7ec2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8bb",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 187
  },
  "hsl": {
    "h": 188.261,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67564,
    "c": 0.10457,
    "h": 210.6
  },
  "luminance": 0.32246
}

Semantic roles & 50–950 ramp

primary
#31A8BB
secondary
#C9897F
accent
#5C46E2
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A8BB

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

Preview Lab → · Contrast checker → · Palette generator →

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