#5195E5#5195E5

#5195E5 is a light, vivid cyan. Relative luminance 0.289; OKLCH L 66.1% C 0.138 H 253.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5195E5
RGBrgb(81, 149, 229)
HSLhsl(212, 74%, 61%)
HSVhsv(212, 65%, 90%)
CMYKcmyk(64.6%, 34.9%, 0%, 10.2%)
CIE-LABlab(60.69, 3.22, -46.88)
CIE-LCHlch(60.69, 46.99, 273.93°)
OKLaboklab(66.14% -0.0385 -0.133)
OKLCHoklch(66.14% 0.138 253.8)
XYZxyz(28.2785, 28.8986, 78.2012)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195E5 #E5A151
analogous
#51DFE5 #5195E5 #5751E5
triadic
#5195E5 #E55195 #95E551
tetradic
#5195E5 #E551DF #E5A151 #51E557
square
#5195E5 #E551DF #E5A151 #51E557
split-complementary
#5195E5 #E55751 #DFE551
monochromatic
#1858A3 #2075D8 #5195E5 #86B5ED #BBD6F5

Accessibility & contrast

On white

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

On black

6.78
#5195E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5195E5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195E5#FFFFFF#000000##000000
##5195E51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE8
Deuteranopia (green-blind)
#5D8CE3
Tritanopia (blue-blind)
#00A7B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5195e5;
/* rgb */ color: rgb(81, 149, 229);
/* oklch */ color: oklch(66.1% 0.138 253.8);
Tailwind
colors: {
  custom: {
    50: '#90b3ed',
    500: '#5195e5',
    950: '#000000',
  },
}
SCSS
$custom: #5195e5;
$custom-light: #90b3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5195e5",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 229
  },
  "hsl": {
    "h": 212.432,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66143,
    "c": 0.13844,
    "h": 253.8
  },
  "luminance": 0.28901
}

Semantic roles & 50–950 ramp

primary
#5195E5
secondary
#E5CBAD
accent
#7B0FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5195E5

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

Preview Lab → · Contrast checker → · Palette generator →

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