#5195E1#5195E1

#5195E1 is a light, vivid cyan. Relative luminance 0.287; OKLCH L 65.9% C 0.133 H 252.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5195E1
RGBrgb(81, 149, 225)
HSLhsl(212, 71%, 60%)
HSVhsv(212, 64%, 88%)
CMYKcmyk(64%, 33.8%, 0%, 11.8%)
CIE-LABlab(60.50, 1.88, -44.97)
CIE-LCHlch(60.50, 45.01, 272.39°)
OKLaboklab(65.93% -0.0396 -0.1274)
OKLCHoklch(65.93% 0.133 252.7)
XYZxyz(27.7264, 28.6777, 75.2937)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195E1 #E19D51
analogous
#51DDE1 #5195E1 #5551E1
triadic
#5195E1 #E15195 #95E151
tetradic
#5195E1 #E151DD #E19D51 #51E155
square
#5195E1 #E151DD #E19D51 #51E155
split-complementary
#5195E1 #E15551 #DDE151
monochromatic
#1B589D #2476D1 #5195E1 #85B5EA #B9D5F3

Accessibility & contrast

On white

3.12
#5195E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#5195E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5195E1
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195E1#FFFFFF#000000##000000
##5195E11.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E4
Deuteranopia (green-blind)
#608CDF
Tritanopia (blue-blind)
#00A7B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5195e1;
/* rgb */ color: rgb(81, 149, 225);
/* oklch */ color: oklch(65.9% 0.133 252.7);
Tailwind
colors: {
  custom: {
    50: '#8fb3eb',
    500: '#5195e1',
    950: '#000000',
  },
}
SCSS
$custom: #5195e1;
$custom-light: #8fb3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5195e1",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 225
  },
  "hsl": {
    "h": 211.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.65926,
    "c": 0.13339,
    "h": 252.7
  },
  "luminance": 0.2868
}

Semantic roles & 50–950 ramp

primary
#5195E1
secondary
#E3C8AB
accent
#993AED
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5195E1

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

Preview Lab → · Contrast checker → · Palette generator →

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