#5462D0#5462D0

#5462D0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.169 H 273.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5462D0
RGBrgb(84, 98, 208)
HSLhsl(233, 57%, 57%)
HSVhsv(233, 60%, 82%)
CMYKcmyk(59.6%, 52.9%, 0%, 18.4%)
CIE-LABlab(45.87, 27.74, -58.71)
CIE-LCHlch(45.87, 64.93, 295.29°)
OKLaboklab(54.41% 0.0116 -0.1683)
OKLCHoklch(54.41% 0.169 273.9)
XYZxyz(19.4053, 15.1727, 61.5683)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462D0 #D0C254
analogous
#54A0D0 #5462D0 #8454D0
triadic
#5462D0 #D05462 #62D054
tetradic
#5462D0 #D054A0 #D0C254 #54D084
square
#5462D0 #D054A0 #D0C254 #54D084
split-complementary
#5462D0 #D08454 #A0D054
monochromatic
#252F85 #3241B5 #5462D0 #848EDD #B4BAEA

Accessibility & contrast

On white

5.20
#5462D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5462D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462D0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462D0#FFFFFF#000000##FFFFFF
##5462D01.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D4
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5462d0;
/* rgb */ color: rgb(84, 98, 208);
/* oklch */ color: oklch(54.4% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#8f8edf',
    500: '#5462d0',
    950: '#000000',
  },
}
SCSS
$custom: #5462d0;
$custom-light: #8f8edf;
$custom-dark: #000000;
JSON
{
  "hex": "#5462d0",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 208
  },
  "hsl": {
    "h": 233.226,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.16867,
    "h": 273.9
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#5462D0
secondary
#D9D3A7
accent
#CF48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5462D0

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

Preview Lab → · Contrast checker → · Palette generator →

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