#31A8B2#31A8B2

#31A8B2 is a light, moderate teal. Relative luminance 0.319; OKLCH L 67.2% C 0.102 H 203.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#31A8B2
RGBrgb(49, 168, 178)
HSLhsl(185, 57%, 45%)
HSVhsv(185, 72%, 70%)
CMYKcmyk(72.5%, 5.6%, 0%, 30.2%)
CIE-LABlab(63.24, -28.60, -14.57)
CIE-LCHlch(63.24, 32.10, 207.01°)
OKLaboklab(67.21% -0.0938 -0.0405)
OKLCHoklch(67.21% 0.102 203.3)
XYZxyz(23.3016, 31.8698, 47.0343)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8B2 #B23B31
analogous
#31B27C #31A8B2 #3168B2
triadic
#31A8B2 #B231A8 #A8B231
tetradic
#31A8B2 #7C31B2 #B23B31 #68B231
square
#31A8B2 #7C31B2 #B23B31 #68B231
split-complementary
#31A8B2 #B23168 #B27C31
monochromatic
#174D52 #247B82 #31A8B2 #51C5CF #81D5DC

Accessibility & contrast

On white

2.85
#31A8B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#31A8B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8B2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8B2#FFFFFF#000000##000000
##31A8B21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA1B3
Deuteranopia (green-blind)
#8893B2
Tritanopia (blue-blind)
#00AFAB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a8b2;
/* rgb */ color: rgb(49, 168, 178);
/* oklch */ color: oklch(67.2% 0.102 203.3);
Tailwind
colors: {
  custom: {
    50: '#7dc2c9',
    500: '#31a8b2',
    950: '#000000',
  },
}
SCSS
$custom: #31a8b2;
$custom-light: #7dc2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8b2",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 178
  },
  "hsl": {
    "h": 184.651,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67212,
    "c": 0.10213,
    "h": 203.3
  },
  "luminance": 0.31873
}

Semantic roles & 50–950 ramp

primary
#31A8B2
secondary
#C57F79
accent
#5448E0
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A8B2

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

Preview Lab → · Contrast checker → · Palette generator →

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