#5291DB#5291DB

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

Color values

HEX#5291DB
RGBrgb(82, 145, 219)
HSLhsl(212, 66%, 59%)
HSVhsv(212, 63%, 86%)
CMYKcmyk(62.6%, 33.8%, 0%, 14.1%)
CIE-LABlab(59.12, 2.39, -43.80)
CIE-LCHlch(59.12, 43.86, 273.12°)
OKLaboklab(64.76% -0.0363 -0.124)
OKLCHoklch(64.76% 0.129 253.7)
XYZxyz(26.3866, 27.1566, 70.8553)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291DB #DB9C52
analogous
#52D5DB #5291DB #5852DB
triadic
#5291DB #DB5291 #91DB52
tetradic
#5291DB #DB52D5 #DB9C52 #52DB58
square
#5291DB #DB52D5 #DB9C52 #52DB58
split-complementary
#5291DB #DB5852 #D5DB52
monochromatic
#1F5594 #2972C6 #5291DB #85B1E6 #B7D1F0

Accessibility & contrast

On white

3.27
#5291DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5291DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291DB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291DB#FFFFFF#000000##000000
##5291DB1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#5F88DA
Tritanopia (blue-blind)
#00A2AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5291db;
/* rgb */ color: rgb(82, 145, 219);
/* oklch */ color: oklch(64.8% 0.129 253.7);
Tailwind
colors: {
  custom: {
    50: '#8fb0e6',
    500: '#5291db',
    950: '#000000',
  },
}
SCSS
$custom: #5291db;
$custom-light: #8fb0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5291db",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 212.409,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64764,
    "c": 0.1292,
    "h": 253.7
  },
  "luminance": 0.27159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5291DB

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

Preview Lab → · Contrast checker → · Palette generator →

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