#31A5BB#31A5BB

#31A5BB is a light, moderate teal. Relative luminance 0.312; OKLCH L 66.8% C 0.104 H 213.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#31A5BB
RGBrgb(49, 165, 187)
HSLhsl(190, 58%, 46%)
HSVhsv(190, 74%, 73%)
CMYKcmyk(73.8%, 11.8%, 0%, 26.7%)
CIE-LABlab(62.63, -24.28, -20.52)
CIE-LCHlch(62.63, 31.79, 220.21°)
OKLaboklab(66.83% -0.087 -0.0572)
OKLCHoklch(66.83% 0.104 213.3)
XYZxyz(23.6876, 31.1483, 51.7679)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5BB #BB4731
analogous
#31BB8C #31A5BB #3160BB
triadic
#31A5BB #BB31A5 #A5BB31
tetradic
#31A5BB #8C31BB #BB4731 #60BB31
square
#31A5BB #8C31BB #BB4731 #60BB31
split-complementary
#31A5BB #BB3160 #BB8C31
monochromatic
#184F5A #247A8B #31A5BB #56BFD3 #87D1E0

Accessibility & contrast

On white

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

On black

7.23
#31A5BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5BB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5BB#FFFFFF#000000##000000
##31A5BB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#959FBC
Deuteranopia (green-blind)
#8291BB
Tritanopia (blue-blind)
#00AEAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a5bb;
/* rgb */ color: rgb(49, 165, 187);
/* oklch */ color: oklch(66.8% 0.104 213.3);
Tailwind
colors: {
  custom: {
    50: '#7ec0cf',
    500: '#31a5bb',
    950: '#000000',
  },
}
SCSS
$custom: #31a5bb;
$custom-light: #7ec0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5bb",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 187
  },
  "hsl": {
    "h": 189.565,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66829,
    "c": 0.10411,
    "h": 213.3
  },
  "luminance": 0.31151
}

Semantic roles & 50–950 ramp

primary
#31A5BB
secondary
#C98B7F
accent
#5F46E2
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A5BB

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

Preview Lab → · Contrast checker → · Palette generator →

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