#31A7C8#31A7C8

#31A7C8 is a light, moderate cyan. Relative luminance 0.325; OKLCH L 67.9% C 0.111 H 221.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#31A7C8
RGBrgb(49, 167, 200)
HSLhsl(193, 61%, 49%)
HSVhsv(193, 76%, 78%)
CMYKcmyk(75.5%, 16.5%, 0%, 21.6%)
CIE-LABlab(63.72, -21.11, -26.11)
CIE-LCHlch(63.72, 33.58, 231.05°)
OKLaboklab(67.86% -0.0838 -0.0731)
OKLCHoklch(67.86% 0.111 221.1)
XYZxyz(25.5063, 32.4575, 59.5530)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A7C8 #C85231
analogous
#31C89E #31A7C8 #315BC8
triadic
#31A7C8 #C831A7 #A7C831
tetradic
#31A7C8 #9E31C8 #C85231 #5BC831
square
#31A7C8 #9E31C8 #C85231 #5BC831
split-complementary
#31A7C8 #C8315B #C89E31
monochromatic
#195566 #257E97 #31A7C8 #5FBDD8 #90D1E4

Accessibility & contrast

On white

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

On black

7.49
#31A7C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A7C8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A7C8#FFFFFF#000000##000000
##31A7C81.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A3CA
Deuteranopia (green-blind)
#7F94C8
Tritanopia (blue-blind)
#00B2B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a7c8;
/* rgb */ color: rgb(49, 167, 200);
/* oklch */ color: oklch(67.9% 0.111 221.1);
Tailwind
colors: {
  custom: {
    50: '#80c1d8',
    500: '#31a7c8',
    950: '#000000',
  },
}
SCSS
$custom: #31a7c8;
$custom-light: #80c1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a7c8",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 200
  },
  "hsl": {
    "h": 193.113,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.67863,
    "c": 0.11118,
    "h": 221.1
  },
  "luminance": 0.32461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A7C8

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

Preview Lab → · Contrast checker → · Palette generator →

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