#31A7C5#31A7C5

#31A7C5 is a light, moderate cyan. Relative luminance 0.323; OKLCH L 67.7% C 0.109 H 219.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#31A7C5
RGBrgb(49, 167, 197)
HSLhsl(192, 60%, 48%)
HSVhsv(192, 75%, 77%)
CMYKcmyk(75.1%, 15.2%, 0%, 22.7%)
CIE-LABlab(63.61, -22.09, -24.62)
CIE-LCHlch(63.61, 33.08, 228.10°)
OKLaboklab(67.73% -0.085 -0.0688)
OKLCHoklch(67.73% 0.109 219)
XYZxyz(25.1591, 32.3186, 57.7246)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7C5 #C54F31
analogous
#31C599 #31A7C5 #315DC5
triadic
#31A7C5 #C531A7 #A7C531
tetradic
#31A7C5 #9931C5 #C54F31 #5DC531
square
#31A7C5 #9931C5 #C54F31 #5DC531
split-complementary
#31A7C5 #C5315D #C59931
monochromatic
#195463 #257D94 #31A7C5 #5DBED7 #8ED2E3

Accessibility & contrast

On white

2.81
#31A7C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#31A7C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7C5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7C5#FFFFFF#000000##000000
##31A7C51.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A2C7
Deuteranopia (green-blind)
#8094C5
Tritanopia (blue-blind)
#00B1B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a7c5;
/* rgb */ color: rgb(49, 167, 197);
/* oklch */ color: oklch(67.7% 0.109 219.0);
Tailwind
colors: {
  custom: {
    50: '#7fc1d6',
    500: '#31a7c5',
    950: '#000000',
  },
}
SCSS
$custom: #31a7c5;
$custom-light: #7fc1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7c5",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 197
  },
  "hsl": {
    "h": 192.162,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.67734,
    "c": 0.10933,
    "h": 219
  },
  "luminance": 0.32322
}

Semantic roles & 50–950 ramp

primary
#31A7C5
secondary
#CD9385
accent
#6544E3
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A7C5

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

Preview Lab → · Contrast checker → · Palette generator →

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