#5197DB#5197DB

#5197DB is a light, vivid cyan. Relative luminance 0.290; OKLCH L 66.1% C 0.124 H 249.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5197DB
RGBrgb(81, 151, 219)
HSLhsl(210, 66%, 59%)
HSVhsv(210, 63%, 86%)
CMYKcmyk(63%, 31.1%, 0%, 14.1%)
CIE-LABlab(60.78, -1.27, -41.19)
CIE-LCHlch(60.78, 41.21, 268.23°)
OKLaboklab(66.05% -0.0432 -0.1164)
OKLCHoklch(66.05% 0.124 249.6)
XYZxyz(27.2414, 28.9944, 71.1649)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197DB #DB9551
analogous
#51DBDA #5197DB #5152DB
triadic
#5197DB #DB5197 #97DB51
tetradic
#5197DB #DA51DB #DB9551 #52DB51
square
#5197DB #DA51DB #DB9551 #52DB51
split-complementary
#5197DB #DB5152 #DBDA51
monochromatic
#1E5A93 #2979C6 #5197DB #84B5E5 #B6D4F0

Accessibility & contrast

On white

3.09
#5197DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5197DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197DB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197DB#FFFFFF#000000##000000
##5197DB1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADE
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#00A7AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5197db;
/* rgb */ color: rgb(81, 151, 219);
/* oklch */ color: oklch(66.1% 0.124 249.6);
Tailwind
colors: {
  custom: {
    50: '#8eb5e6',
    500: '#5197db',
    950: '#000000',
  },
}
SCSS
$custom: #5197db;
$custom-light: #8eb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5197db",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 209.565,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66052,
    "c": 0.12415,
    "h": 249.6
  },
  "luminance": 0.28997
}

Semantic roles & 50–950 ramp

primary
#5197DB
secondary
#DFC4A9
accent
#933FE9
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5197DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5197DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva