#31A2BD#31A2BD

#31A2BD is a light, moderate cyan. Relative luminance 0.302; OKLCH L 66.2% C 0.105 H 217.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#31A2BD
RGBrgb(49, 162, 189)
HSLhsl(192, 59%, 47%)
HSVhsv(192, 74%, 74%)
CMYKcmyk(74.1%, 14.3%, 0%, 25.9%)
CIE-LABlab(61.80, -22.10, -22.92)
CIE-LCHlch(61.80, 31.84, 226.05°)
OKLaboklab(66.18% -0.0832 -0.064)
OKLCHoklch(66.18% 0.105 217.6)
XYZxyz(23.3684, 30.1650, 52.7251)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2BD #BD4C31
analogous
#31BD92 #31A2BD #315CBD
triadic
#31A2BD #BD31A2 #A2BD31
tetradic
#31A2BD #9231BD #BD4C31 #5CBD31
square
#31A2BD #9231BD #BD4C31 #5CBD31
split-complementary
#31A2BD #BD315C #BD9231
monochromatic
#184F5C #24788C #31A2BD #58BCD4 #88CFE0

Accessibility & contrast

On white

2.99
#31A2BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#31A2BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2BD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2BD#FFFFFF#000000##000000
##31A2BD1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#909DBE
Deuteranopia (green-blind)
#7D8FBD
Tritanopia (blue-blind)
#00ABAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a2bd;
/* rgb */ color: rgb(49, 162, 189);
/* oklch */ color: oklch(66.2% 0.105 217.6);
Tailwind
colors: {
  custom: {
    50: '#7ebdd1',
    500: '#31a2bd',
    950: '#000000',
  },
}
SCSS
$custom: #31a2bd;
$custom-light: #7ebdd1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2bd",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 189
  },
  "hsl": {
    "h": 191.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.6618,
    "c": 0.10498,
    "h": 217.6
  },
  "luminance": 0.30168
}

Semantic roles & 50–950 ramp

primary
#31A2BD
secondary
#CA8E80
accent
#6446E2
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A2BD

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

Preview Lab → · Contrast checker → · Palette generator →

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