#31A7CF#31A7CF

#31A7CF is a light, moderate cyan. Relative luminance 0.328; OKLCH L 68.2% C 0.116 H 225.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#31A7CF
RGBrgb(49, 167, 207)
HSLhsl(195, 62%, 50%)
HSVhsv(195, 76%, 81%)
CMYKcmyk(76.3%, 19.3%, 0%, 18.8%)
CIE-LABlab(63.99, -18.80, -29.58)
CIE-LCHlch(63.99, 35.05, 237.57°)
OKLaboklab(68.17% -0.0812 -0.083)
OKLCHoklch(68.17% 0.116 225.6)
XYZxyz(26.3432, 32.7922, 63.9605)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7CF #CF5931
analogous
#31CFA8 #31A7CF #3158CF
triadic
#31A7CF #CF31A7 #A7CF31
tetradic
#31A7CF #A831CF #CF5931 #58CF31
square
#31A7CF #A831CF #CF5931 #58CF31
split-complementary
#31A7CF #CF3158 #CFA831
monochromatic
#19576C #257F9E #31A7CF #63BCDB #94D1E6

Accessibility & contrast

On white

2.78
#31A7CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#31A7CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7CF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7CF#FFFFFF#000000##000000
##31A7CF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A4D1
Deuteranopia (green-blind)
#7C94CF
Tritanopia (blue-blind)
#00B3B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31a7cf;
/* rgb */ color: rgb(49, 167, 207);
/* oklch */ color: oklch(68.2% 0.116 225.6);
Tailwind
colors: {
  custom: {
    50: '#81c1dd',
    500: '#31a7cf',
    950: '#000000',
  },
}
SCSS
$custom: #31a7cf;
$custom-light: #81c1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7cf",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 207
  },
  "hsl": {
    "h": 195.19,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.68173,
    "c": 0.11608,
    "h": 225.6
  },
  "luminance": 0.32795
}

Semantic roles & 50–950 ramp

primary
#31A7CF
secondary
#D19C8B
accent
#6C43E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #31A7CF

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

Preview Lab → · Contrast checker → · Palette generator →

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