#31A4B5#31A4B5

#31A4B5 is a light, moderate teal. Relative luminance 0.305; OKLCH L 66.3% C 0.102 H 209.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#31A4B5
RGBrgb(49, 164, 181)
HSLhsl(188, 57%, 45%)
HSVhsv(188, 73%, 71%)
CMYKcmyk(72.9%, 9.4%, 0%, 29%)
CIE-LABlab(62.12, -25.67, -17.95)
CIE-LCHlch(62.12, 31.33, 214.96°)
OKLaboklab(66.34% -0.0885 -0.0499)
OKLCHoklch(66.34% 0.102 209.4)
XYZxyz(22.8790, 30.5374, 48.3956)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A4B5 #B54231
analogous
#31B584 #31A4B5 #3162B5
triadic
#31A4B5 #B531A4 #A4B531
tetradic
#31A4B5 #8431B5 #B54231 #62B531
square
#31A4B5 #8431B5 #B54231 #62B531
split-complementary
#31A4B5 #B53162 #B58431
monochromatic
#174D55 #247885 #31A4B5 #53C0D0 #83D2DD

Accessibility & contrast

On white

2.95
#31A4B5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#31A4B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A4B5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A4B5#FFFFFF#000000##000000
##31A4B51.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#959EB6
Deuteranopia (green-blind)
#8390B5
Tritanopia (blue-blind)
#00ACA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a4b5;
/* rgb */ color: rgb(49, 164, 181);
/* oklch */ color: oklch(66.3% 0.102 209.4);
Tailwind
colors: {
  custom: {
    50: '#7dbfcb',
    500: '#31a4b5',
    950: '#000000',
  },
}
SCSS
$custom: #31a4b5;
$custom-light: #7dbfcb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a4b5",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 181
  },
  "hsl": {
    "h": 187.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.66341,
    "c": 0.10159,
    "h": 209.4
  },
  "luminance": 0.3054
}

Semantic roles & 50–950 ramp

primary
#31A4B5
secondary
#C7857B
accent
#5B47E1
background
#F8FBFC
surface
#EFF7F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A4B5

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

Preview Lab → · Contrast checker → · Palette generator →

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