#5265DC#5265DC

#5265DC is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.182 H 272.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5265DC
RGBrgb(82, 101, 220)
HSLhsl(232, 66%, 59%)
HSVhsv(232, 63%, 86%)
CMYKcmyk(62.7%, 54.1%, 0%, 13.7%)
CIE-LABlab(47.32, 29.56, -63.21)
CIE-LCHlch(47.32, 69.78, 295.06°)
OKLaboklab(55.73% 0.0073 -0.1815)
OKLCHoklch(55.73% 0.182 272.3)
XYZxyz(21.0473, 16.2667, 69.7269)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5265DC #DCC952
analogous
#52AADC #5265DC #8452DC
triadic
#5265DC #DC5265 #65DC52
tetradic
#5265DC #DC52AA #DCC952 #52DC84
square
#5265DC #DC52AA #DCC952 #52DC84
split-complementary
#5265DC #DC8452 #AADC52
monochromatic
#1E2F95 #293FC8 #5265DC #8592E6 #B8C0F1

Accessibility & contrast

On white

4.94
#5265DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5265DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5265DC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5265DC#FFFFFF#000000##FFFFFF
##5265DC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B77E0
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5265dc;
/* rgb */ color: rgb(82, 101, 220);
/* oklch */ color: oklch(55.7% 0.182 272.3);
Tailwind
colors: {
  custom: {
    50: '#9090e8',
    500: '#5265dc',
    950: '#000000',
  },
}
SCSS
$custom: #5265dc;
$custom-light: #9090e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5265dc",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 231.739,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55726,
    "c": 0.18167,
    "h": 272.3
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#5265DC
secondary
#E0D8AA
accent
#D23FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5265DC

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

Preview Lab → · Contrast checker → · Palette generator →

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