#31A8B5#31A8B5

#31A8B5 is a light, moderate teal. Relative luminance 0.320; OKLCH L 67.3% C 0.103 H 205.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#31A8B5
RGBrgb(49, 168, 181)
HSLhsl(186, 57%, 45%)
HSVhsv(186, 73%, 71%)
CMYKcmyk(72.9%, 7.2%, 0%, 29%)
CIE-LABlab(63.34, -27.67, -16.10)
CIE-LCHlch(63.34, 32.02, 210.19°)
OKLaboklab(67.33% -0.0925 -0.0447)
OKLCHoklch(67.33% 0.103 205.8)
XYZxyz(23.6061, 31.9916, 48.6380)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8B5 #B53E31
analogous
#31B580 #31A8B5 #3166B5
triadic
#31A8B5 #B531A8 #A8B531
tetradic
#31A8B5 #8031B5 #B53E31 #66B531
square
#31A8B5 #8031B5 #B53E31 #66B531
split-complementary
#31A8B5 #B53166 #B58031
monochromatic
#174F55 #247B85 #31A8B5 #53C4D0 #83D5DD

Accessibility & contrast

On white

2.84
#31A8B5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#31A8B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8B5
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8B5#FFFFFF#000000##000000
##31A8B51.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA1B6
Deuteranopia (green-blind)
#8793B5
Tritanopia (blue-blind)
#00AFAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a8b5;
/* rgb */ color: rgb(49, 168, 181);
/* oklch */ color: oklch(67.3% 0.103 205.8);
Tailwind
colors: {
  custom: {
    50: '#7dc2cb',
    500: '#31a8b5',
    950: '#000000',
  },
}
SCSS
$custom: #31a8b5;
$custom-light: #7dc2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8b5",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 181
  },
  "hsl": {
    "h": 185.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67327,
    "c": 0.10274,
    "h": 205.8
  },
  "luminance": 0.31994
}

Semantic roles & 50–950 ramp

primary
#31A8B5
secondary
#C7837B
accent
#5647E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A8B5

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

Preview Lab → · Contrast checker → · Palette generator →

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