#31A2BC#31A2BC

#31A2BC is a light, moderate cyan. Relative luminance 0.301; OKLCH L 66.1% C 0.104 H 216.8°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#31A2BC
RGBrgb(49, 162, 188)
HSLhsl(191, 59%, 46%)
HSVhsv(191, 74%, 74%)
CMYKcmyk(73.9%, 13.8%, 0%, 26.3%)
CIE-LABlab(61.76, -22.42, -22.42)
CIE-LCHlch(61.76, 31.71, 225.00°)
OKLaboklab(66.14% -0.0836 -0.0626)
OKLCHoklch(66.14% 0.104 216.8)
XYZxyz(23.2602, 30.1217, 52.1554)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2BC #BC4B31
analogous
#31BC91 #31A2BC #315DBC
triadic
#31A2BC #BC31A2 #A2BC31
tetradic
#31A2BC #9131BC #BC4B31 #5DBC31
square
#31A2BC #9131BC #BC4B31 #5DBC31
split-complementary
#31A2BC #BC315D #BC9131
monochromatic
#184E5B #24788B #31A2BC #57BCD3 #88CFE0

Accessibility & contrast

On white

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

On black

7.02
#31A2BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2BC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2BC#FFFFFF#000000##000000
##31A2BC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBD
Deuteranopia (green-blind)
#7E8FBC
Tritanopia (blue-blind)
#00ABAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a2bc;
/* rgb */ color: rgb(49, 162, 188);
/* oklch */ color: oklch(66.1% 0.104 216.8);
Tailwind
colors: {
  custom: {
    50: '#7ebdd0',
    500: '#31a2bc',
    950: '#000000',
  },
}
SCSS
$custom: #31a2bc;
$custom-light: #7ebdd0;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2bc",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 188
  },
  "hsl": {
    "h": 191.223,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.66138,
    "c": 0.10443,
    "h": 216.8
  },
  "luminance": 0.30124
}

Semantic roles & 50–950 ramp

primary
#31A2BC
secondary
#CA8D7F
accent
#6346E2
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A2BC

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

Preview Lab → · Contrast checker → · Palette generator →

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