#31A1BB#31A1BB

#31A1BB is a light, moderate cyan. Relative luminance 0.297; OKLCH L 65.9% C 0.104 H 217.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#31A1BB
RGBrgb(49, 161, 187)
HSLhsl(191, 58%, 46%)
HSVhsv(191, 74%, 73%)
CMYKcmyk(73.8%, 13.9%, 0%, 26.7%)
CIE-LABlab(61.42, -22.23, -22.38)
CIE-LCHlch(61.42, 31.54, 225.20°)
OKLaboklab(65.85% -0.083 -0.0624)
OKLCHoklch(65.85% 0.104 217)
XYZxyz(22.9773, 29.7278, 51.5311)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A1BB #BB4B31
analogous
#31BB90 #31A1BB #315CBB
triadic
#31A1BB #BB31A1 #A1BB31
tetradic
#31A1BB #9031BB #BB4B31 #5CBB31
square
#31A1BB #9031BB #BB4B31 #5CBB31
split-complementary
#31A1BB #BB315C #BB9031
monochromatic
#184E5A #24778B #31A1BB #56BBD3 #87CFE0

Accessibility & contrast

On white

3.02
#31A1BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#31A1BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A1BB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A1BB#FFFFFF#000000##000000
##31A1BB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#909CBC
Deuteranopia (green-blind)
#7D8EBB
Tritanopia (blue-blind)
#00AAA9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a1bb;
/* rgb */ color: rgb(49, 161, 187);
/* oklch */ color: oklch(65.9% 0.104 217.0);
Tailwind
colors: {
  custom: {
    50: '#7dbdcf',
    500: '#31a1bb',
    950: '#000000',
  },
}
SCSS
$custom: #31a1bb;
$custom-light: #7dbdcf;
$custom-dark: #000000;
JSON
{
  "hex": "#31a1bb",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 187
  },
  "hsl": {
    "h": 191.304,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.65852,
    "c": 0.10389,
    "h": 217
  },
  "luminance": 0.29731
}

Semantic roles & 50–950 ramp

primary
#31A1BB
secondary
#C98D7F
accent
#6346E2
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A1BB

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

Preview Lab → · Contrast checker → · Palette generator →

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