#31A8C8#31A8C8

#31A8C8 is a light, moderate cyan. Relative luminance 0.328; OKLCH L 68.1% C 0.111 H 220.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#31A8C8
RGBrgb(49, 168, 200)
HSLhsl(193, 61%, 49%)
HSVhsv(193, 76%, 78%)
CMYKcmyk(75.5%, 16%, 0%, 21.6%)
CIE-LABlab(64.02, -21.63, -25.65)
CIE-LCHlch(64.02, 33.55, 229.86°)
OKLaboklab(68.1% -0.0848 -0.0717)
OKLCHoklch(68.1% 0.111 220.2)
XYZxyz(25.6902, 32.8253, 59.6143)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8C8 #C85131
analogous
#31C89D #31A8C8 #315DC8
triadic
#31A8C8 #C831A8 #A8C831
tetradic
#31A8C8 #9D31C8 #C85131 #5DC831
square
#31A8C8 #9D31C8 #C85131 #5DC831
split-complementary
#31A8C8 #C8315D #C89D31
monochromatic
#195566 #257F97 #31A8C8 #5FBED8 #90D2E4

Accessibility & contrast

On white

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

On black

7.57
#31A8C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8C8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8C8#FFFFFF#000000##000000
##31A8C81.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A3CA
Deuteranopia (green-blind)
#8095C8
Tritanopia (blue-blind)
#00B2B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31a8c8;
/* rgb */ color: rgb(49, 168, 200);
/* oklch */ color: oklch(68.1% 0.111 220.2);
Tailwind
colors: {
  custom: {
    50: '#80c2d8',
    500: '#31a8c8',
    950: '#000000',
  },
}
SCSS
$custom: #31a8c8;
$custom-light: #80c2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8c8",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 200
  },
  "hsl": {
    "h": 192.715,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.11106,
    "h": 220.2
  },
  "luminance": 0.32828
}

Semantic roles & 50–950 ramp

primary
#31A8C8
secondary
#CE9686
accent
#6644E4
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A8C8

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

Preview Lab → · Contrast checker → · Palette generator →

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