#5291DD#5291DD

#5291DD is a light, vivid cyan. Relative luminance 0.273; OKLCH L 64.9% C 0.132 H 254.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5291DD
RGBrgb(82, 145, 221)
HSLhsl(213, 67%, 59%)
HSVhsv(213, 63%, 87%)
CMYKcmyk(62.9%, 34.4%, 0%, 13.3%)
CIE-LABlab(59.22, 3.05, -44.76)
CIE-LCHlch(59.22, 44.86, 273.90°)
OKLaboklab(64.87% -0.0358 -0.1268)
OKLCHoklch(64.87% 0.132 254.2)
XYZxyz(26.6515, 27.2625, 72.2503)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291DD #DD9E52
analogous
#52D6DD #5291DD #5952DD
triadic
#5291DD #DD5291 #91DD52
tetradic
#5291DD #DD52D6 #DD9E52 #52DD59
square
#5291DD #DD52D6 #DD9E52 #52DD59
split-complementary
#5291DD #DD5952 #D6DD52
monochromatic
#1E5597 #2871CA #5291DD #85B2E7 #B8D2F1

Accessibility & contrast

On white

3.25
#5291DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#5291DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291DD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291DD#FFFFFF#000000##000000
##5291DD1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#5D89DB
Tritanopia (blue-blind)
#00A2AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5291dd;
/* rgb */ color: rgb(82, 145, 221);
/* oklch */ color: oklch(64.9% 0.132 254.2);
Tailwind
colors: {
  custom: {
    50: '#8fb0e8',
    500: '#5291dd',
    950: '#000000',
  },
}
SCSS
$custom: #5291dd;
$custom-light: #8fb0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5291dd",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 221
  },
  "hsl": {
    "h": 212.806,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.13176,
    "h": 254.2
  },
  "luminance": 0.27265
}

Semantic roles & 50–950 ramp

primary
#5291DD
secondary
#E0C8AA
accent
#9C3EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D1016
muted
#7E7F84

Preview Lab

Preview with #5291DD

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

Preview Lab → · Contrast checker → · Palette generator →

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