#31A8CF#31A8CF

#31A8CF is a light, moderate cyan. Relative luminance 0.332; OKLCH L 68.4% C 0.116 H 224.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#31A8CF
RGBrgb(49, 168, 207)
HSLhsl(195, 62%, 50%)
HSVhsv(195, 76%, 81%)
CMYKcmyk(76.3%, 18.8%, 0%, 18.8%)
CIE-LABlab(64.29, -19.32, -29.12)
CIE-LCHlch(64.29, 34.95, 236.43°)
OKLaboklab(68.41% -0.0821 -0.0817)
OKLCHoklch(68.41% 0.116 224.8)
XYZxyz(26.5271, 33.1600, 64.0218)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8CF #CF5831
analogous
#31CFA7 #31A8CF #3159CF
triadic
#31A8CF #CF31A8 #A8CF31
tetradic
#31A8CF #A731CF #CF5831 #59CF31
square
#31A8CF #A731CF #CF5831 #59CF31
split-complementary
#31A8CF #CF3159 #CFA731
monochromatic
#19586C #25809E #31A8CF #63BDDB #94D2E6

Accessibility & contrast

On white

2.75
#31A8CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#31A8CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8CF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8CF#FFFFFF#000000##000000
##31A8CF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A4D1
Deuteranopia (green-blind)
#7D95CF
Tritanopia (blue-blind)
#00B4B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31a8cf;
/* rgb */ color: rgb(49, 168, 207);
/* oklch */ color: oklch(68.4% 0.116 224.8);
Tailwind
colors: {
  custom: {
    50: '#81c2dd',
    500: '#31a8cf',
    950: '#000000',
  },
}
SCSS
$custom: #31a8cf;
$custom-light: #81c2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8cf",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 207
  },
  "hsl": {
    "h": 194.81,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.11581,
    "h": 224.8
  },
  "luminance": 0.33163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A8CF

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

Preview Lab → · Contrast checker → · Palette generator →

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