#31A7B8#31A7B8

#31A7B8 is a light, moderate teal. Relative luminance 0.318; OKLCH L 67.2% C 0.103 H 209.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#31A7B8
RGBrgb(49, 167, 184)
HSLhsl(188, 58%, 46%)
HSVhsv(188, 73%, 72%)
CMYKcmyk(73.4%, 9.2%, 0%, 27.8%)
CIE-LABlab(63.13, -26.24, -18.08)
CIE-LCHlch(63.13, 31.87, 214.57°)
OKLaboklab(67.2% -0.0902 -0.0503)
OKLCHoklch(67.2% 0.103 209.1)
XYZxyz(23.7333, 31.7483, 50.2153)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7B8 #B84231
analogous
#31B886 #31A7B8 #3163B8
triadic
#31A7B8 #B831A7 #A7B831
tetradic
#31A7B8 #8631B8 #B84231 #63B831
square
#31A7B8 #8631B8 #B84231 #63B831
split-complementary
#31A7B8 #B83163 #B88631
monochromatic
#174F57 #247B88 #31A7B8 #55C2D2 #85D3DE

Accessibility & contrast

On white

2.86
#31A7B8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#31A7B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7B8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7B8#FFFFFF#000000##000000
##31A7B81.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A1B9
Deuteranopia (green-blind)
#8593B8
Tritanopia (blue-blind)
#00AFAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a7b8;
/* rgb */ color: rgb(49, 167, 184);
/* oklch */ color: oklch(67.2% 0.103 209.1);
Tailwind
colors: {
  custom: {
    50: '#7ec1cd',
    500: '#31a7b8',
    950: '#000000',
  },
}
SCSS
$custom: #31a7b8;
$custom-light: #7ec1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7b8",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 184
  },
  "hsl": {
    "h": 187.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67199,
    "c": 0.1033,
    "h": 209.1
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#31A7B8
secondary
#C8867D
accent
#5A47E1
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A7B8

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

Preview Lab → · Contrast checker → · Palette generator →

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