#5291DF#5291DF

#5291DF is a light, vivid cyan. Relative luminance 0.274; OKLCH L 65.0% C 0.134 H 254.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5291DF
RGBrgb(82, 145, 223)
HSLhsl(213, 69%, 60%)
HSVhsv(213, 63%, 87%)
CMYKcmyk(63.2%, 35%, 0%, 12.5%)
CIE-LABlab(59.32, 3.72, -45.72)
CIE-LCHlch(59.32, 45.87, 274.66°)
OKLaboklab(64.98% -0.0353 -0.1296)
OKLCHoklch(64.98% 0.134 254.8)
XYZxyz(26.9195, 27.3698, 73.6620)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291DF #DFA052
analogous
#52D8DF #5291DF #5952DF
triadic
#5291DF #DF5291 #91DF52
tetradic
#5291DF #DF52D8 #DFA052 #52DF59
square
#5291DF #DF52D8 #DFA052 #52DF59
split-complementary
#5291DF #DF5952 #D8DF52
monochromatic
#1D559A #2671CE #5291DF #86B2E9 #B9D3F2

Accessibility & contrast

On white

3.24
#5291DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5291DF#FFFFFF#000000##000000
##5291DF1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5291df;
/* rgb */ color: rgb(82, 145, 223);
/* oklch */ color: oklch(65.0% 0.134 254.8);
Tailwind
colors: {
  custom: {
    50: '#8fb0e9',
    500: '#5291df',
    950: '#000000',
  },
}
SCSS
$custom: #5291df;
$custom-light: #8fb0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5291df",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 213.191,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64981,
    "c": 0.13432,
    "h": 254.8
  },
  "luminance": 0.27372
}

Semantic roles & 50–950 ramp

primary
#5291DF
secondary
#E2C9AB
accent
#9D3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5291DF

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

Preview Lab → · Contrast checker → · Palette generator →

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