#31A5B5#31A5B5

#31A5B5 is a light, moderate teal. Relative luminance 0.309; OKLCH L 66.6% C 0.102 H 208.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#31A5B5
RGBrgb(49, 165, 181)
HSLhsl(187, 57%, 45%)
HSVhsv(187, 73%, 71%)
CMYKcmyk(72.9%, 8.8%, 0%, 29%)
CIE-LABlab(62.42, -26.18, -17.49)
CIE-LCHlch(62.42, 31.48, 213.75°)
OKLaboklab(66.59% -0.0895 -0.0486)
OKLCHoklch(66.59% 0.102 208.5)
XYZxyz(23.0586, 30.8967, 48.4555)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5B5 #B54131
analogous
#31B583 #31A5B5 #3163B5
triadic
#31A5B5 #B531A5 #A5B531
tetradic
#31A5B5 #8331B5 #B54131 #63B531
square
#31A5B5 #8331B5 #B54131 #63B531
split-complementary
#31A5B5 #B53163 #B58331
monochromatic
#174D55 #247985 #31A5B5 #53C1D0 #83D2DD

Accessibility & contrast

On white

2.92
#31A5B5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#31A5B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5B5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5B5#FFFFFF#000000##000000
##31A5B51.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#969FB6
Deuteranopia (green-blind)
#8491B5
Tritanopia (blue-blind)
#00ADAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a5b5;
/* rgb */ color: rgb(49, 165, 181);
/* oklch */ color: oklch(66.6% 0.102 208.5);
Tailwind
colors: {
  custom: {
    50: '#7dc0cb',
    500: '#31a5b5',
    950: '#000000',
  },
}
SCSS
$custom: #31a5b5;
$custom-light: #7dc0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5b5",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 181
  },
  "hsl": {
    "h": 187.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.66588,
    "c": 0.10184,
    "h": 208.5
  },
  "luminance": 0.30899
}

Semantic roles & 50–950 ramp

primary
#31A5B5
secondary
#C7847B
accent
#5A47E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A5B5

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

Preview Lab → · Contrast checker → · Palette generator →

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