#31A5BF#31A5BF

#31A5BF is a light, moderate cyan. Relative luminance 0.313; OKLCH L 67.0% C 0.106 H 216.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#31A5BF
RGBrgb(49, 165, 191)
HSLhsl(191, 59%, 47%)
HSVhsv(191, 74%, 75%)
CMYKcmyk(74.3%, 13.6%, 0%, 25.1%)
CIE-LABlab(62.78, -23.00, -22.54)
CIE-LCHlch(62.78, 32.20, 224.42°)
OKLaboklab(67% -0.0854 -0.0629)
OKLCHoklch(67% 0.106 216.4)
XYZxyz(24.1217, 31.3219, 54.0545)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5BF #BF4B31
analogous
#31BF92 #31A5BF #315EBF
triadic
#31A5BF #BF31A5 #A5BF31
tetradic
#31A5BF #9231BF #BF4B31 #5EBF31
square
#31A5BF #9231BF #BF4B31 #5EBF31
split-complementary
#31A5BF #BF315E #BF9231
monochromatic
#18515E #257B8E #31A5BF #59BED4 #8AD1E1

Accessibility & contrast

On white

2.89
#31A5BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#31A5BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5BF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5BF#FFFFFF#000000##000000
##31A5BF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A0C0
Deuteranopia (green-blind)
#8092BF
Tritanopia (blue-blind)
#00AEAD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31a5bf;
/* rgb */ color: rgb(49, 165, 191);
/* oklch */ color: oklch(67.0% 0.106 216.4);
Tailwind
colors: {
  custom: {
    50: '#7ec0d2',
    500: '#31a5bf',
    950: '#000000',
  },
}
SCSS
$custom: #31a5bf;
$custom-light: #7ec0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5bf",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 191
  },
  "hsl": {
    "h": 190.986,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.66995,
    "c": 0.10604,
    "h": 216.4
  },
  "luminance": 0.31325
}

Semantic roles & 50–950 ramp

primary
#31A5BF
secondary
#CB8F81
accent
#6245E2
background
#F8FBFC
surface
#F0F7F9
border
#CBD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A5BF

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

Preview Lab → · Contrast checker → · Palette generator →

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