#31A5BC#31A5BC

#31A5BC is a light, moderate teal. Relative luminance 0.312; OKLCH L 66.9% C 0.105 H 214.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#31A5BC
RGBrgb(49, 165, 188)
HSLhsl(190, 59%, 46%)
HSVhsv(190, 74%, 74%)
CMYKcmyk(73.9%, 12.2%, 0%, 26.3%)
CIE-LABlab(62.67, -23.96, -21.03)
CIE-LCHlch(62.67, 31.88, 221.27°)
OKLaboklab(66.87% -0.0866 -0.0586)
OKLCHoklch(66.87% 0.105 214.1)
XYZxyz(23.7950, 31.1912, 52.3336)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5BC #BC4831
analogous
#31BC8E #31A5BC #3160BC
triadic
#31A5BC #BC31A5 #A5BC31
tetradic
#31A5BC #8E31BC #BC4831 #60BC31
square
#31A5BC #8E31BC #BC4831 #60BC31
split-complementary
#31A5BC #BC3160 #BC8E31
monochromatic
#18505B #247A8B #31A5BC #57BFD3 #88D1E0

Accessibility & contrast

On white

2.90
#31A5BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#31A5BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5BC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5BC#FFFFFF#000000##000000
##31A5BC1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A0BD
Deuteranopia (green-blind)
#8192BC
Tritanopia (blue-blind)
#00AEAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31a5bc;
/* rgb */ color: rgb(49, 165, 188);
/* oklch */ color: oklch(66.9% 0.105 214.1);
Tailwind
colors: {
  custom: {
    50: '#7ec0d0',
    500: '#31a5bc',
    950: '#000000',
  },
}
SCSS
$custom: #31a5bc;
$custom-light: #7ec0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5bc",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 188
  },
  "hsl": {
    "h": 189.928,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.6687,
    "c": 0.10457,
    "h": 214.1
  },
  "luminance": 0.31194
}

Semantic roles & 50–950 ramp

primary
#31A5BC
secondary
#CA8C7F
accent
#6046E2
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A5BC

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

Preview Lab → · Contrast checker → · Palette generator →

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