#31A8B7#31A8B7

#31A8B7 is a light, moderate teal. Relative luminance 0.321; OKLCH L 67.4% C 0.103 H 207.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#31A8B7
RGBrgb(49, 168, 183)
HSLhsl(187, 58%, 45%)
HSVhsv(187, 73%, 72%)
CMYKcmyk(73.2%, 8.2%, 0%, 28.2%)
CIE-LABlab(63.40, -27.05, -17.11)
CIE-LCHlch(63.40, 32.01, 212.32°)
OKLaboklab(67.41% -0.0916 -0.0476)
OKLCHoklch(67.41% 0.103 207.4)
XYZxyz(23.8128, 32.0743, 49.7265)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8B7 #B74031
analogous
#31B783 #31A8B7 #3165B7
triadic
#31A8B7 #B731A8 #A8B731
tetradic
#31A8B7 #8331B7 #B74031 #65B731
square
#31A8B7 #8331B7 #B74031 #65B731
split-complementary
#31A8B7 #B73165 #B78331
monochromatic
#174F56 #247C87 #31A8B7 #54C3D1 #84D4DE

Accessibility & contrast

On white

2.83
#31A8B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#31A8B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8B7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8B7#FFFFFF#000000##000000
##31A8B71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A1B8
Deuteranopia (green-blind)
#8794B7
Tritanopia (blue-blind)
#00B0AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a8b7;
/* rgb */ color: rgb(49, 168, 183);
/* oklch */ color: oklch(67.4% 0.103 207.4);
Tailwind
colors: {
  custom: {
    50: '#7dc2cc',
    500: '#31a8b7',
    950: '#000000',
  },
}
SCSS
$custom: #31a8b7;
$custom-light: #7dc2cc;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8b7",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 183
  },
  "hsl": {
    "h": 186.716,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67405,
    "c": 0.10326,
    "h": 207.4
  },
  "luminance": 0.32077
}

Semantic roles & 50–950 ramp

primary
#31A8B7
secondary
#C8857C
accent
#5847E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A8B7

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

Preview Lab → · Contrast checker → · Palette generator →

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