#5291DC#5291DC

#5291DC is a light, vivid cyan. Relative luminance 0.272; OKLCH L 64.8% C 0.130 H 254.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5291DC
RGBrgb(82, 145, 220)
HSLhsl(213, 66%, 59%)
HSVhsv(213, 63%, 86%)
CMYKcmyk(62.7%, 34.1%, 0%, 13.7%)
CIE-LABlab(59.17, 2.72, -44.28)
CIE-LCHlch(59.17, 44.36, 273.52°)
OKLaboklab(64.82% -0.036 -0.1254)
OKLCHoklch(64.82% 0.13 254)
XYZxyz(26.5187, 27.2094, 71.5507)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291DC #DC9D52
analogous
#52D6DC #5291DC #5852DC
triadic
#5291DC #DC5291 #91DC52
tetradic
#5291DC #DC52D6 #DC9D52 #52DC58
square
#5291DC #DC52D6 #DC9D52 #52DC58
split-complementary
#5291DC #DC5852 #D6DC52
monochromatic
#1E5595 #2971C8 #5291DC #85B1E6 #B8D2F1

Accessibility & contrast

On white

3.26
#5291DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#5291DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291DC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291DC#FFFFFF#000000##000000
##5291DC1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#00A2AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5291dc;
/* rgb */ color: rgb(82, 145, 220);
/* oklch */ color: oklch(64.8% 0.130 254.0);
Tailwind
colors: {
  custom: {
    50: '#8fb0e7',
    500: '#5291dc',
    950: '#000000',
  },
}
SCSS
$custom: #5291dc;
$custom-light: #8fb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5291dc",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 212.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64818,
    "c": 0.13049,
    "h": 254
  },
  "luminance": 0.27212
}

Semantic roles & 50–950 ramp

primary
#5291DC
secondary
#E0C7AA
accent
#9B3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5291DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5291DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva