#5195E2#5195E2

#5195E2 is a light, vivid cyan. Relative luminance 0.287; OKLCH L 66.0% C 0.135 H 253.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5195E2
RGBrgb(81, 149, 226)
HSLhsl(212, 71%, 60%)
HSVhsv(212, 64%, 89%)
CMYKcmyk(64.2%, 34.1%, 0%, 11.4%)
CIE-LABlab(60.54, 2.22, -45.45)
CIE-LCHlch(60.54, 45.50, 272.79°)
OKLaboklab(65.98% -0.0393 -0.1288)
OKLCHoklch(65.98% 0.135 253)
XYZxyz(27.8632, 28.7325, 76.0143)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195E2 #E29E51
analogous
#51DEE2 #5195E2 #5551E2
triadic
#5195E2 #E25195 #95E251
tetradic
#5195E2 #E251DE #E29E51 #51E255
square
#5195E2 #E251DE #E29E51 #51E255
split-complementary
#5195E2 #E25551 #DEE251
monochromatic
#1A589E #2375D3 #5195E2 #85B5EB #BAD5F3

Accessibility & contrast

On white

3.11
#5195E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#5195E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5195E2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195E2#FFFFFF#000000##000000
##5195E21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE5
Deuteranopia (green-blind)
#5F8CE0
Tritanopia (blue-blind)
#00A7B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5195e2;
/* rgb */ color: rgb(81, 149, 226);
/* oklch */ color: oklch(66.0% 0.135 253.0);
Tailwind
colors: {
  custom: {
    50: '#8fb3eb',
    500: '#5195e2',
    950: '#000000',
  },
}
SCSS
$custom: #5195e2;
$custom-light: #8fb3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5195e2",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 226
  },
  "hsl": {
    "h": 211.862,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6598,
    "c": 0.13465,
    "h": 253
  },
  "luminance": 0.28735
}

Semantic roles & 50–950 ramp

primary
#5195E2
secondary
#E3C9AC
accent
#7912D3
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5195E2

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

Preview Lab → · Contrast checker → · Palette generator →

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