#31A2B7#31A2B7

#31A2B7 is a light, moderate teal. Relative luminance 0.299; OKLCH L 65.9% C 0.102 H 212.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#31A2B7
RGBrgb(49, 162, 183)
HSLhsl(189, 58%, 45%)
HSVhsv(189, 73%, 72%)
CMYKcmyk(73.2%, 11.5%, 0%, 28.2%)
CIE-LABlab(61.58, -24.02, -19.89)
CIE-LCHlch(61.58, 31.19, 219.63°)
OKLaboklab(65.93% -0.0856 -0.0554)
OKLCHoklch(65.93% 0.102 212.9)
XYZxyz(22.7305, 29.9098, 49.3658)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2B7 #B74631
analogous
#31B789 #31A2B7 #315FB7
triadic
#31A2B7 #B731A2 #A2B731
tetradic
#31A2B7 #8931B7 #B74631 #5FB731
square
#31A2B7 #8931B7 #B74631 #5FB731
split-complementary
#31A2B7 #B7315F #B78931
monochromatic
#174D56 #247787 #31A2B7 #54BED1 #84D0DE

Accessibility & contrast

On white

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

On black

6.98
#31A2B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A2B7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2B7#FFFFFF#000000##000000
##31A2B71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#929CB8
Deuteranopia (green-blind)
#808FB7
Tritanopia (blue-blind)
#00AAA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a2b7;
/* rgb */ color: rgb(49, 162, 183);
/* oklch */ color: oklch(65.9% 0.102 212.9);
Tailwind
colors: {
  custom: {
    50: '#7dbdcc',
    500: '#31a2b7',
    950: '#000000',
  },
}
SCSS
$custom: #31a2b7;
$custom-light: #7dbdcc;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2b7",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 183
  },
  "hsl": {
    "h": 189.403,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6593,
    "c": 0.102,
    "h": 212.9
  },
  "luminance": 0.29913
}

Semantic roles & 50–950 ramp

primary
#31A2B7
secondary
#C8887C
accent
#5F47E1
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A2B7

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

Preview Lab → · Contrast checker → · Palette generator →

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