#5197EB#5197EB

#5197EB is a light, vivid cyan. Relative luminance 0.299; OKLCH L 66.9% C 0.144 H 254.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5197EB
RGBrgb(81, 151, 235)
HSLhsl(213, 79%, 62%)
HSVhsv(213, 66%, 92%)
CMYKcmyk(65.5%, 35.7%, 0%, 7.8%)
CIE-LABlab(61.55, 4.08, -48.84)
CIE-LCHlch(61.55, 49.01, 274.77°)
OKLaboklab(66.91% -0.039 -0.1387)
OKLCHoklch(66.91% 0.144 254.3)
XYZxyz(29.4499, 29.8777, 82.7961)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197EB #EBA551
analogous
#51E4EB #5197EB #5851EB
triadic
#5197EB #EB5197 #97EB51
tetradic
#5197EB #EB51E4 #EBA551 #51EB58
square
#5197EB #EB51E4 #EBA551 #51EB58
split-complementary
#5197EB #EB5851 #E4EB51
monochromatic
#145AAE #1A76E5 #5197EB #88B8F1 #BFD9F8

Accessibility & contrast

On white

3.01
#5197EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5197EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197EB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197EB#FFFFFF#000000##000000
##5197EB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEE
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5197eb;
/* rgb */ color: rgb(81, 151, 235);
/* oklch */ color: oklch(66.9% 0.144 254.3);
Tailwind
colors: {
  custom: {
    50: '#90b5f2',
    500: '#5197eb',
    950: '#000000',
  },
}
SCSS
$custom: #5197eb;
$custom-light: #90b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5197eb",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 212.727,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6691,
    "c": 0.14407,
    "h": 254.3
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#5197EB
secondary
#E8CEB0
accent
#7C0ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5197EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5197EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva