#31A7BE#31A7BE

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

Color values

HEX#31A7BE
RGBrgb(49, 167, 190)
HSLhsl(190, 59%, 47%)
HSVhsv(190, 74%, 75%)
CMYKcmyk(74.2%, 12.1%, 0%, 25.5%)
CIE-LABlab(63.35, -24.34, -21.11)
CIE-LCHlch(63.35, 32.22, 220.93°)
OKLaboklab(67.44% -0.0878 -0.0588)
OKLCHoklch(67.44% 0.106 213.8)
XYZxyz(24.3756, 32.0052, 53.5981)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7BE #BE4831
analogous
#31BE8F #31A7BE #3161BE
triadic
#31A7BE #BE31A7 #A7BE31
tetradic
#31A7BE #8F31BE #BE4831 #61BE31
square
#31A7BE #8F31BE #BE4831 #61BE31
split-complementary
#31A7BE #BE3161 #BE8F31
monochromatic
#18515D #247C8D #31A7BE #58C0D4 #89D2E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A7BE#FFFFFF#000000##000000
##31A7BE1.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)
#96A1BF
Deuteranopia (green-blind)
#8393BE
Tritanopia (blue-blind)
#00B0AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a7be;
/* rgb */ color: rgb(49, 167, 190);
/* oklch */ color: oklch(67.4% 0.106 213.8);
Tailwind
colors: {
  custom: {
    50: '#7ec1d1',
    500: '#31a7be',
    950: '#000000',
  },
}
SCSS
$custom: #31a7be;
$custom-light: #7ec1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7be",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 190
  },
  "hsl": {
    "h": 189.787,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67441,
    "c": 0.10566,
    "h": 213.8
  },
  "luminance": 0.32008
}

Semantic roles & 50–950 ramp

primary
#31A7BE
secondary
#CA8C80
accent
#5F46E2
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A7BE

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

Preview Lab → · Contrast checker → · Palette generator →

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