#31A4BB#31A4BB

#31A4BB is a light, moderate cyan. Relative luminance 0.308; OKLCH L 66.6% C 0.104 H 214.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#31A4BB
RGBrgb(49, 164, 187)
HSLhsl(190, 58%, 46%)
HSVhsv(190, 74%, 73%)
CMYKcmyk(73.8%, 12.3%, 0%, 26.7%)
CIE-LABlab(62.33, -23.77, -20.99)
CIE-LCHlch(62.33, 31.71, 221.44°)
OKLaboklab(66.59% -0.086 -0.0585)
OKLCHoklch(66.59% 0.104 214.2)
XYZxyz(23.5079, 30.7889, 51.7080)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A4BB #BB4831
analogous
#31BB8D #31A4BB #315FBB
triadic
#31A4BB #BB31A4 #A4BB31
tetradic
#31A4BB #8D31BB #BB4831 #5FBB31
square
#31A4BB #8D31BB #BB4831 #5FBB31
split-complementary
#31A4BB #BB315F #BB8D31
monochromatic
#184F5A #24798B #31A4BB #56BED3 #87D1E0

Accessibility & contrast

On white

2.93
#31A4BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#31A4BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A4BB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A4BB#FFFFFF#000000##000000
##31A4BB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#939FBC
Deuteranopia (green-blind)
#8091BB
Tritanopia (blue-blind)
#00ADAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a4bb;
/* rgb */ color: rgb(49, 164, 187);
/* oklch */ color: oklch(66.6% 0.104 214.2);
Tailwind
colors: {
  custom: {
    50: '#7ebfcf',
    500: '#31a4bb',
    950: '#000000',
  },
}
SCSS
$custom: #31a4bb;
$custom-light: #7ebfcf;
$custom-dark: #000000;
JSON
{
  "hex": "#31a4bb",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 187
  },
  "hsl": {
    "h": 190,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.10401,
    "h": 214.2
  },
  "luminance": 0.30792
}

Semantic roles & 50–950 ramp

primary
#31A4BB
secondary
#C98B7F
accent
#6046E2
background
#F8FBFC
surface
#EFF7F9
border
#CAD0D2
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A4BB

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

Preview Lab → · Contrast checker → · Palette generator →

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