#5291CC#5291CC

#5291CC is a light, moderate cyan. Relative luminance 0.264; OKLCH L 64.0% C 0.110 H 248.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5291CC
RGBrgb(82, 145, 204)
HSLhsl(209, 54%, 56%)
HSVhsv(209, 60%, 80%)
CMYKcmyk(59.8%, 28.9%, 0%, 20%)
CIE-LABlab(58.42, -2.55, -36.50)
CIE-LCHlch(58.42, 36.59, 266.00°)
OKLaboklab(63.98% -0.0405 -0.1028)
OKLCHoklch(63.98% 0.11 248.5)
XYZxyz(24.5002, 26.4020, 60.9200)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291CC #CC8D52
analogous
#52CCCA #5291CC #5254CC
triadic
#5291CC #CC5291 #91CC52
tetradic
#5291CC #CA52CC #CC8D52 #54CC52
square
#5291CC #CA52CC #CC8D52 #54CC52
split-complementary
#5291CC #CC5254 #CCCA52
monochromatic
#25537E #3372AE #5291CC #81AFDA #B1CDE8

Accessibility & contrast

On white

3.34
#5291CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5291CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291CC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291CC#FFFFFF#000000##000000
##5291CC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#6887CB
Tritanopia (blue-blind)
#009FA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5291cc;
/* rgb */ color: rgb(82, 145, 204);
/* oklch */ color: oklch(64.0% 0.110 248.5);
Tailwind
colors: {
  custom: {
    50: '#8cb1dc',
    500: '#5291cc',
    950: '#000000',
  },
}
SCSS
$custom: #5291cc;
$custom-light: #8cb1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5291cc",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 204
  },
  "hsl": {
    "h": 209.016,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.11048,
    "h": 248.5
  },
  "luminance": 0.26404
}

Semantic roles & 50–950 ramp

primary
#5291CC
secondary
#D6BCA4
accent
#914ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5291CC

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

Preview Lab → · Contrast checker → · Palette generator →

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