#5462D8#5462D8

#5462D8 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.0% C 0.180 H 273.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5462D8
RGBrgb(84, 98, 216)
HSLhsl(234, 63%, 59%)
HSVhsv(234, 61%, 85%)
CMYKcmyk(61.1%, 54.6%, 0%, 15.3%)
CIE-LABlab(46.41, 30.41, -62.40)
CIE-LCHlch(46.41, 69.42, 295.98°)
OKLaboklab(54.99% 0.012 -0.1791)
OKLCHoklch(54.99% 0.18 273.8)
XYZxyz(20.4144, 15.5764, 66.8832)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462D8 #D8CA54
analogous
#54A4D8 #5462D8 #8854D8
triadic
#5462D8 #D85462 #62D854
tetradic
#5462D8 #D854A4 #D8CA54 #54D888
square
#5462D8 #D854A4 #D8CA54 #54D888
split-complementary
#5462D8 #D88854 #A4D854
monochromatic
#212D91 #2C3CC2 #5462D8 #8690E3 #B8BEEF

Accessibility & contrast

On white

5.10
#5462D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5462D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462D8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462D8#FFFFFF#000000##FFFFFF
##5462D81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0574DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5462d8;
/* rgb */ color: rgb(84, 98, 216);
/* oklch */ color: oklch(55.0% 0.180 273.8);
Tailwind
colors: {
  custom: {
    50: '#908ee5',
    500: '#5462d8',
    950: '#000000',
  },
}
SCSS
$custom: #5462d8;
$custom-light: #908ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#5462d8",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 233.636,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.17953,
    "h": 273.8
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#5462D8
secondary
#DED8AA
accent
#D542E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5462D8

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

Preview Lab → · Contrast checker → · Palette generator →

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