#5191DF#5191DF

#5191DF is a light, vivid cyan. Relative luminance 0.273; OKLCH L 64.9% C 0.135 H 254.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5191DF
RGBrgb(81, 145, 223)
HSLhsl(213, 69%, 60%)
HSVhsv(213, 64%, 87%)
CMYKcmyk(63.7%, 35%, 0%, 12.5%)
CIE-LABlab(59.27, 3.55, -45.79)
CIE-LCHlch(59.27, 45.92, 274.43°)
OKLaboklab(64.94% -0.036 -0.1298)
OKLCHoklch(64.94% 0.135 254.5)
XYZxyz(26.8332, 27.3252, 73.6579)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5191DF #DF9F51
analogous
#51D8DF #5191DF #5851DF
triadic
#5191DF #DF5191 #91DF51
tetradic
#5191DF #DF51D8 #DF9F51 #51DF58
square
#5191DF #DF51D8 #DF9F51 #51DF58
split-complementary
#5191DF #DF5851 #D8DF51
monochromatic
#1C5599 #2671CD #5191DF #85B2E9 #B8D2F2

Accessibility & contrast

On white

3.25
#5191DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5191DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5191DF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5191DF#FFFFFF#000000##000000
##5191DF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#5B89DD
Tritanopia (blue-blind)
#00A3AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5191df;
/* rgb */ color: rgb(81, 145, 223);
/* oklch */ color: oklch(64.9% 0.135 254.5);
Tailwind
colors: {
  custom: {
    50: '#8fb0e9',
    500: '#5191df',
    950: '#000000',
  },
}
SCSS
$custom: #5191df;
$custom-light: #8fb0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5191df",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 212.958,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64938,
    "c": 0.13473,
    "h": 254.5
  },
  "luminance": 0.27328
}

Semantic roles & 50–950 ramp

primary
#5191DF
secondary
#E1C9AA
accent
#9D3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5191DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5191DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva