#31A2D0#31A2D0

#31A2D0 is a light, moderate cyan. Relative luminance 0.310; OKLCH L 67.0% C 0.119 H 230.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#31A2D0
RGBrgb(49, 162, 208)
HSLhsl(197, 63%, 50%)
HSVhsv(197, 76%, 82%)
CMYKcmyk(76.4%, 22.1%, 0%, 18.4%)
CIE-LABlab(62.55, -15.79, -32.38)
CIE-LCHlch(62.55, 36.02, 244.00°)
OKLaboklab(67.03% -0.0761 -0.0911)
OKLCHoklch(67.03% 0.119 230.1)
XYZxyz(25.5675, 31.0446, 64.3070)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2D0 #D05F31
analogous
#31D0AE #31A2D0 #3153D0
triadic
#31A2D0 #D031A2 #A2D031
tetradic
#31A2D0 #AE31D0 #D05F31 #53D031
square
#31A2D0 #AE31D0 #D05F31 #53D031
split-complementary
#31A2D0 #D03153 #D0AE31
monochromatic
#19556E #247C9F #31A2D0 #63B8DB #95CFE7

Accessibility & contrast

On white

2.91
#31A2D0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#31A2D0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2D0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2D0#FFFFFF#000000##000000
##31A2D01.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA0D2
Deuteranopia (green-blind)
#7591CF
Tritanopia (blue-blind)
#00AFB1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a2d0;
/* rgb */ color: rgb(49, 162, 208);
/* oklch */ color: oklch(67.0% 0.119 230.1);
Tailwind
colors: {
  custom: {
    50: '#80bdde',
    500: '#31a2d0',
    950: '#000000',
  },
}
SCSS
$custom: #31a2d0;
$custom-light: #80bdde;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2d0",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 208
  },
  "hsl": {
    "h": 197.358,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.67028,
    "c": 0.11864,
    "h": 230.1
  },
  "luminance": 0.31048
}

Semantic roles & 50–950 ramp

primary
#31A2D0
secondary
#D29F8B
accent
#7142E6
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #31A2D0

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

Preview Lab → · Contrast checker → · Palette generator →

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