#5195DF#5195DF

#5195DF is a light, vivid cyan. Relative luminance 0.286; OKLCH L 65.8% C 0.131 H 252.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5195DF
RGBrgb(81, 149, 223)
HSLhsl(211, 69%, 60%)
HSVhsv(211, 64%, 87%)
CMYKcmyk(63.7%, 33.2%, 0%, 12.5%)
CIE-LABlab(60.40, 1.21, -44.01)
CIE-LCHlch(60.40, 44.03, 271.58°)
OKLaboklab(65.82% -0.0401 -0.1246)
OKLCHoklch(65.82% 0.131 252.2)
XYZxyz(27.4552, 28.5693, 73.8653)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195DF #DF9B51
analogous
#51DCDF #5195DF #5451DF
triadic
#5195DF #DF5195 #95DF51
tetradic
#5195DF #DF51DC #DF9B51 #51DF54
square
#5195DF #DF51DC #DF9B51 #51DF54
split-complementary
#5195DF #DF5451 #DCDF51
monochromatic
#1C5899 #2676CD #5195DF #85B4E9 #B8D4F2

Accessibility & contrast

On white

3.13
#5195DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5195DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5195DF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195DF#FFFFFF#000000##000000
##5195DF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#618BDE
Tritanopia (blue-blind)
#00A6B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5195df;
/* rgb */ color: rgb(81, 149, 223);
/* oklch */ color: oklch(65.8% 0.131 252.2);
Tailwind
colors: {
  custom: {
    50: '#8fb3e9',
    500: '#5195df',
    950: '#000000',
  },
}
SCSS
$custom: #5195df;
$custom-light: #8fb3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5195df",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 223
  },
  "hsl": {
    "h": 211.268,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65819,
    "c": 0.13089,
    "h": 252.2
  },
  "luminance": 0.28572
}

Semantic roles & 50–950 ramp

primary
#5195DF
secondary
#E1C7AA
accent
#983CEC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5195DF

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

Preview Lab → · Contrast checker → · Palette generator →

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