#5462DC#5462DC

#5462DC is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.3% C 0.185 H 273.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5462DC
RGBrgb(84, 98, 220)
HSLhsl(234, 66%, 60%)
HSVhsv(234, 62%, 86%)
CMYKcmyk(61.8%, 55.5%, 0%, 13.7%)
CIE-LABlab(46.69, 31.75, -64.23)
CIE-LCHlch(46.69, 71.65, 296.30°)
OKLaboklab(55.29% 0.0121 -0.1845)
OKLCHoklch(55.29% 0.185 273.8)
XYZxyz(20.9378, 15.7858, 69.6398)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462DC #DCCE54
analogous
#54A6DC #5462DC #8A54DC
triadic
#5462DC #DC5462 #62DC54
tetradic
#5462DC #DC54A6 #DCCE54 #54DC8A
square
#5462DC #DC54A6 #DCCE54 #54DC8A
split-complementary
#5462DC #DC8A54 #A6DC54
monochromatic
#1F2B97 #293ACA #5462DC #8791E6 #BABFF1

Accessibility & contrast

On white

5.05
#5462DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5462DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462DC#FFFFFF#000000##FFFFFF
##5462DC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5462dc;
/* rgb */ color: rgb(84, 98, 220);
/* oklch */ color: oklch(55.3% 0.185 273.8);
Tailwind
colors: {
  custom: {
    50: '#918ee8',
    500: '#5462dc',
    950: '#000000',
  },
}
SCSS
$custom: #5462dc;
$custom-light: #918ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5462dc",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 233.824,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.18489,
    "h": 273.8
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#5462DC
secondary
#E0DBAC
accent
#D73FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5462DC

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

Preview Lab → · Contrast checker → · Palette generator →

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