#5195DC#5195DC

#5195DC is a light, vivid cyan. Relative luminance 0.284; OKLCH L 65.7% C 0.127 H 251.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5195DC
RGBrgb(81, 149, 220)
HSLhsl(211, 67%, 59%)
HSVhsv(211, 63%, 86%)
CMYKcmyk(63.2%, 32.3%, 0%, 13.7%)
CIE-LABlab(60.26, 0.21, -42.57)
CIE-LCHlch(60.26, 42.57, 270.29°)
OKLaboklab(65.66% -0.0409 -0.1204)
OKLCHoklch(65.66% 0.127 251.2)
XYZxyz(27.0543, 28.4089, 71.7540)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195DC #DC9851
analogous
#51DBDC #5195DC #5351DC
triadic
#5195DC #DC5195 #95DC51
tetradic
#5195DC #DC51DB #DC9851 #51DC53
square
#5195DC #DC51DB #DC9851 #51DC53
split-complementary
#5195DC #DC5351 #DBDC51
monochromatic
#1E5895 #2876C8 #5195DC #84B4E6 #B7D3F0

Accessibility & contrast

On white

3.14
#5195DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5195DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5195DC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195DC#FFFFFF#000000##000000
##5195DC1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699DF
Deuteranopia (green-blind)
#638BDB
Tritanopia (blue-blind)
#00A6AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5195dc;
/* rgb */ color: rgb(81, 149, 220);
/* oklch */ color: oklch(65.7% 0.127 251.2);
Tailwind
colors: {
  custom: {
    50: '#8eb3e7',
    500: '#5195dc',
    950: '#000000',
  },
}
SCSS
$custom: #5195dc;
$custom-light: #8eb3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5195dc",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 220
  },
  "hsl": {
    "h": 210.647,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65659,
    "c": 0.12715,
    "h": 251.2
  },
  "luminance": 0.28412
}

Semantic roles & 50–950 ramp

primary
#5195DC
secondary
#E0C5A9
accent
#963EE9
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5195DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5195DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva