#31A5B2#31A5B2

#31A5B2 is a light, moderate teal. Relative luminance 0.308; OKLCH L 66.5% C 0.101 H 206.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#31A5B2
RGBrgb(49, 165, 178)
HSLhsl(186, 57%, 45%)
HSVhsv(186, 72%, 70%)
CMYKcmyk(72.5%, 7.3%, 0%, 30.2%)
CIE-LABlab(62.32, -27.11, -15.96)
CIE-LCHlch(62.32, 31.46, 210.49°)
OKLaboklab(66.47% -0.0907 -0.0443)
OKLCHoklch(66.47% 0.101 206)
XYZxyz(22.7541, 30.7749, 46.8518)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5B2 #B23E31
analogous
#31B27F #31A5B2 #3164B2
triadic
#31A5B2 #B231A5 #A5B231
tetradic
#31A5B2 #7F31B2 #B23E31 #64B231
square
#31A5B2 #7F31B2 #B23E31 #64B231
split-complementary
#31A5B2 #B23164 #B27F31
monochromatic
#174C52 #247982 #31A5B2 #51C2CF #81D3DC

Accessibility & contrast

On white

2.93
#31A5B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#31A5B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5B2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5B2#FFFFFF#000000##000000
##31A5B21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#979EB3
Deuteranopia (green-blind)
#8591B2
Tritanopia (blue-blind)
#00ACA9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a5b2;
/* rgb */ color: rgb(49, 165, 178);
/* oklch */ color: oklch(66.5% 0.101 206.0);
Tailwind
colors: {
  custom: {
    50: '#7dc0c9',
    500: '#31a5b2',
    950: '#000000',
  },
}
SCSS
$custom: #31a5b2;
$custom-light: #7dc0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5b2",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 178
  },
  "hsl": {
    "h": 186.047,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6647,
    "c": 0.101,
    "h": 206
  },
  "luminance": 0.30778
}

Semantic roles & 50–950 ramp

primary
#31A5B2
secondary
#C58179
accent
#5748E0
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A5B2

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

Preview Lab → · Contrast checker → · Palette generator →

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