#31AAB5#31AAB5

#31AAB5 is a light, moderate teal. Relative luminance 0.327; OKLCH L 67.8% C 0.103 H 204.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#31AAB5
RGBrgb(49, 170, 181)
HSLhsl(185, 57%, 45%)
HSVhsv(185, 73%, 71%)
CMYKcmyk(72.9%, 6.1%, 0%, 29%)
CIE-LABlab(63.95, -28.66, -15.18)
CIE-LCHlch(63.95, 32.43, 207.90°)
OKLaboklab(67.82% -0.0945 -0.0422)
OKLCHoklch(67.82% 0.103 204)
XYZxyz(23.9782, 32.7358, 48.7620)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AAB5 #B53C31
analogous
#31B57E #31AAB5 #3168B5
triadic
#31AAB5 #B531AA #AAB531
tetradic
#31AAB5 #7E31B5 #B53C31 #68B531
square
#31AAB5 #7E31B5 #B53C31 #68B531
split-complementary
#31AAB5 #B53168 #B57E31
monochromatic
#175055 #247D85 #31AAB5 #53C6D0 #83D6DD

Accessibility & contrast

On white

2.78
#31AAB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#31AAB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AAB5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AAB5#FFFFFF#000000##000000
##31AAB51.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA3B6
Deuteranopia (green-blind)
#8995B5
Tritanopia (blue-blind)
#00B1AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31aab5;
/* rgb */ color: rgb(49, 170, 181);
/* oklch */ color: oklch(67.8% 0.103 204.0);
Tailwind
colors: {
  custom: {
    50: '#7dc3cb',
    500: '#31aab5',
    950: '#000000',
  },
}
SCSS
$custom: #31aab5;
$custom-light: #7dc3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#31aab5",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 181
  },
  "hsl": {
    "h": 185,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.10347,
    "h": 204
  },
  "luminance": 0.32739
}

Semantic roles & 50–950 ramp

primary
#31AAB5
secondary
#C7817B
accent
#5447E1
background
#F8FCFC
surface
#EFF8F8
border
#CAD1D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31AAB5

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

Preview Lab → · Contrast checker → · Palette generator →

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