#5195E4#5195E4

#5195E4 is a light, vivid cyan. Relative luminance 0.288; OKLCH L 66.1% C 0.137 H 253.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5195E4
RGBrgb(81, 149, 228)
HSLhsl(212, 73%, 61%)
HSVhsv(212, 64%, 89%)
CMYKcmyk(64.5%, 34.6%, 0%, 10.6%)
CIE-LABlab(60.64, 2.89, -46.40)
CIE-LCHlch(60.64, 46.49, 273.56°)
OKLaboklab(66.09% -0.0388 -0.1316)
OKLCHoklch(66.09% 0.137 253.6)
XYZxyz(28.1393, 28.8429, 77.4680)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195E4 #E4A051
analogous
#51DEE4 #5195E4 #5651E4
triadic
#5195E4 #E45195 #95E451
tetradic
#5195E4 #E451DE #E4A051 #51E456
square
#5195E4 #E451DE #E4A051 #51E456
split-complementary
#5195E4 #E45651 #DEE451
monochromatic
#1958A2 #2175D7 #5195E4 #86B5EC #BBD6F4

Accessibility & contrast

On white

3.10
#5195E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5195E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5195E4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195E4#FFFFFF#000000##000000
##5195E41.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE7
Deuteranopia (green-blind)
#5E8CE2
Tritanopia (blue-blind)
#00A7B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5195e4;
/* rgb */ color: rgb(81, 149, 228);
/* oklch */ color: oklch(66.1% 0.137 253.6);
Tailwind
colors: {
  custom: {
    50: '#8fb3ed',
    500: '#5195e4',
    950: '#000000',
  },
}
SCSS
$custom: #5195e4;
$custom-light: #8fb3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5195e4",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 228
  },
  "hsl": {
    "h": 212.245,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66088,
    "c": 0.13718,
    "h": 253.6
  },
  "luminance": 0.28846
}

Semantic roles & 50–950 ramp

primary
#5195E4
secondary
#E4CAAC
accent
#7A10D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5195E4

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

Preview Lab → · Contrast checker → · Palette generator →

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