#31A2B5#31A2B5

#31A2B5 is a light, moderate teal. Relative luminance 0.298; OKLCH L 65.8% C 0.101 H 211.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#31A2B5
RGBrgb(49, 162, 181)
HSLhsl(189, 57%, 45%)
HSVhsv(189, 73%, 71%)
CMYKcmyk(72.9%, 10.5%, 0%, 29%)
CIE-LABlab(61.50, -24.66, -18.88)
CIE-LCHlch(61.50, 31.06, 217.44°)
OKLaboklab(65.85% -0.0865 -0.0525)
OKLCHoklch(65.85% 0.101 211.3)
XYZxyz(22.5239, 29.8272, 48.2772)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2B5 #B54431
analogous
#31B586 #31A2B5 #3160B5
triadic
#31A2B5 #B531A2 #A2B531
tetradic
#31A2B5 #8631B5 #B54431 #60B531
square
#31A2B5 #8631B5 #B54431 #60B531
split-complementary
#31A2B5 #B53160 #B58631
monochromatic
#174C55 #247785 #31A2B5 #53BED0 #83D0DD

Accessibility & contrast

On white

3.01
#31A2B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#31A2B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A2B5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2B5#FFFFFF#000000##000000
##31A2B51.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#939CB6
Deuteranopia (green-blind)
#808FB5
Tritanopia (blue-blind)
#00AAA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a2b5;
/* rgb */ color: rgb(49, 162, 181);
/* oklch */ color: oklch(65.8% 0.101 211.3);
Tailwind
colors: {
  custom: {
    50: '#7dbecb',
    500: '#31a2b5',
    950: '#000000',
  },
}
SCSS
$custom: #31a2b5;
$custom-light: #7dbecb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2b5",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 181
  },
  "hsl": {
    "h": 188.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.65849,
    "c": 0.10118,
    "h": 211.3
  },
  "luminance": 0.2983
}

Semantic roles & 50–950 ramp

primary
#31A2B5
secondary
#C7867B
accent
#5D47E1
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A2B5

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

Preview Lab → · Contrast checker → · Palette generator →

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