#31A7CA#31A7CA

#31A7CA is a light, moderate cyan. Relative luminance 0.326; OKLCH L 68.0% C 0.113 H 222.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#31A7CA
RGBrgb(49, 167, 202)
HSLhsl(194, 61%, 49%)
HSVhsv(194, 76%, 79%)
CMYKcmyk(75.7%, 17.3%, 0%, 20.8%)
CIE-LABlab(63.80, -20.45, -27.11)
CIE-LCHlch(63.80, 33.96, 232.96°)
OKLaboklab(67.95% -0.083 -0.0759)
OKLCHoklch(67.95% 0.113 222.4)
XYZxyz(25.7416, 32.5516, 60.7921)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7CA #CA5431
analogous
#31CAA0 #31A7CA #315BCA
triadic
#31A7CA #CA31A7 #A7CA31
tetradic
#31A7CA #A031CA #CA5431 #5BCA31
square
#31A7CA #A031CA #CA5431 #5BCA31
split-complementary
#31A7CA #CA315B #CAA031
monochromatic
#195667 #257E99 #31A7CA #60BDD8 #91D1E4

Accessibility & contrast

On white

2.80
#31A7CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#31A7CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7CA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7CA#FFFFFF#000000##000000
##31A7CA1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A3CC
Deuteranopia (green-blind)
#7E94CA
Tritanopia (blue-blind)
#00B2B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31a7ca;
/* rgb */ color: rgb(49, 167, 202);
/* oklch */ color: oklch(68.0% 0.113 222.4);
Tailwind
colors: {
  custom: {
    50: '#80c1da',
    500: '#31a7ca',
    950: '#000000',
  },
}
SCSS
$custom: #31a7ca;
$custom-light: #80c1da;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7ca",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 202
  },
  "hsl": {
    "h": 193.725,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.6795,
    "c": 0.1125,
    "h": 222.4
  },
  "luminance": 0.32555
}

Semantic roles & 50–950 ramp

primary
#31A7CA
secondary
#CF9888
accent
#6844E4
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A7CA

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

Preview Lab → · Contrast checker → · Palette generator →

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