#31B7DB#31B7DB

#31B7DB is a light, vivid cyan. Relative luminance 0.396; OKLCH L 72.5% C 0.121 H 220.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#31B7DB
RGBrgb(49, 183, 219)
HSLhsl(193, 70%, 53%)
HSVhsv(193, 78%, 86%)
CMYKcmyk(77.6%, 16.4%, 0%, 14.1%)
CIE-LABlab(69.21, -23.16, -28.16)
CIE-LCHlch(69.21, 36.46, 230.56°)
OKLaboklab(72.51% -0.0918 -0.0788)
OKLCHoklch(72.51% 0.121 220.7)
XYZxyz(30.9809, 39.6306, 73.0207)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B7DB #DB5531
analogous
#31DBAA #31B7DB #3162DB
triadic
#31B7DB #DB31B7 #B7DB31
tetradic
#31B7DB #AA31DB #DB5531 #62DB31
square
#31B7DB #AA31DB #DB5531 #62DB31
split-complementary
#31B7DB #DB3162 #DBAA31
monochromatic
#16667C #1F91B0 #31B7DB #65C9E4 #99DBED

Accessibility & contrast

On white

2.35
#31B7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#31B7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B7DB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B7DB#FFFFFF#000000##000000
##31B7DB1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B2DD
Deuteranopia (green-blind)
#8BA2DB
Tritanopia (blue-blind)
#00C3C3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31b7db;
/* rgb */ color: rgb(49, 183, 219);
/* oklch */ color: oklch(72.5% 0.121 220.7);
Tailwind
colors: {
  custom: {
    50: '#84cce6',
    500: '#31b7db',
    950: '#000000',
  },
}
SCSS
$custom: #31b7db;
$custom-light: #84cce6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b7db",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 219
  },
  "hsl": {
    "h": 192.706,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72509,
    "c": 0.12097,
    "h": 220.7
  },
  "luminance": 0.39634
}

Semantic roles & 50–950 ramp

primary
#31B7DB
secondary
#D99F8F
accent
#613BED
background
#F8FCFE
surface
#F0F9FC
border
#CBD2D5
text
#0D1316
muted
#7D8284

Preview Lab

Preview with #31B7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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