#31A4B2#31A4B2

#31A4B2 is a light, moderate teal. Relative luminance 0.304; OKLCH L 66.2% C 0.101 H 207.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#31A4B2
RGBrgb(49, 164, 178)
HSLhsl(187, 57%, 45%)
HSVhsv(187, 72%, 70%)
CMYKcmyk(72.5%, 7.9%, 0%, 30.2%)
CIE-LABlab(62.01, -26.61, -16.43)
CIE-LCHlch(62.01, 31.27, 211.68°)
OKLaboklab(66.22% -0.0897 -0.0457)
OKLCHoklch(66.22% 0.101 207)
XYZxyz(22.5745, 30.4156, 46.7919)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A4B2 #B23F31
analogous
#31B280 #31A4B2 #3163B2
triadic
#31A4B2 #B231A4 #A4B231
tetradic
#31A4B2 #8031B2 #B23F31 #63B231
square
#31A4B2 #8031B2 #B23F31 #63B231
split-complementary
#31A4B2 #B23163 #B28031
monochromatic
#174C52 #247882 #31A4B2 #51C1CF #81D2DC

Accessibility & contrast

On white

2.96
#31A4B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#31A4B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A4B2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A4B2#FFFFFF#000000##000000
##31A4B21.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#969EB3
Deuteranopia (green-blind)
#8490B2
Tritanopia (blue-blind)
#00ABA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a4b2;
/* rgb */ color: rgb(49, 164, 178);
/* oklch */ color: oklch(66.2% 0.101 207.0);
Tailwind
colors: {
  custom: {
    50: '#7cbfc9',
    500: '#31a4b2',
    950: '#000000',
  },
}
SCSS
$custom: #31a4b2;
$custom-light: #7cbfc9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a4b2",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 178
  },
  "hsl": {
    "h": 186.512,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66223,
    "c": 0.10067,
    "h": 207
  },
  "luminance": 0.30418
}

Semantic roles & 50–950 ramp

primary
#31A4B2
secondary
#C58279
accent
#5848E0
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A4B2

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

Preview Lab → · Contrast checker → · Palette generator →

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