#31A7C2#31A7C2

#31A7C2 is a light, moderate cyan. Relative luminance 0.322; OKLCH L 67.6% C 0.108 H 216.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#31A7C2
RGBrgb(49, 167, 194)
HSLhsl(191, 60%, 48%)
HSVhsv(191, 75%, 76%)
CMYKcmyk(74.7%, 13.9%, 0%, 23.9%)
CIE-LABlab(63.49, -23.06, -23.12)
CIE-LCHlch(63.49, 32.65, 225.07°)
OKLaboklab(67.61% -0.0861 -0.0645)
OKLCHoklch(67.61% 0.108 216.8)
XYZxyz(24.8188, 32.1825, 55.9323)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7C2 #C24C31
analogous
#31C294 #31A7C2 #315FC2
triadic
#31A7C2 #C231A7 #A7C231
tetradic
#31A7C2 #9431C2 #C24C31 #5FC231
square
#31A7C2 #9431C2 #C24C31 #5FC231
split-complementary
#31A7C2 #C2315F #C29431
monochromatic
#185360 #257D91 #31A7C2 #5BBFD6 #8CD2E2

Accessibility & contrast

On white

2.82
#31A7C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#31A7C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7C2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7C2#FFFFFF#000000##000000
##31A7C21.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A2C3
Deuteranopia (green-blind)
#8194C2
Tritanopia (blue-blind)
#00B1AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a7c2;
/* rgb */ color: rgb(49, 167, 194);
/* oklch */ color: oklch(67.6% 0.108 216.8);
Tailwind
colors: {
  custom: {
    50: '#7fc1d4',
    500: '#31a7c2',
    950: '#000000',
  },
}
SCSS
$custom: #31a7c2;
$custom-light: #7fc1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7c2",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 194
  },
  "hsl": {
    "h": 191.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67607,
    "c": 0.10764,
    "h": 216.8
  },
  "luminance": 0.32185
}

Semantic roles & 50–950 ramp

primary
#31A7C2
secondary
#CC9083
accent
#6245E3
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A7C2

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

Preview Lab → · Contrast checker → · Palette generator →

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