#5462DD#5462DD

#5462DD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.4% C 0.186 H 273.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5462DD
RGBrgb(84, 98, 221)
HSLhsl(234, 67%, 60%)
HSVhsv(234, 62%, 87%)
CMYKcmyk(62%, 55.7%, 0%, 13.3%)
CIE-LABlab(46.76, 32.08, -64.68)
CIE-LCHlch(46.76, 72.20, 296.38°)
OKLaboklab(55.36% 0.0122 -0.1858)
OKLCHoklch(55.36% 0.186 273.7)
XYZxyz(21.0707, 15.8389, 70.3394)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462DD #DDCF54
analogous
#54A6DD #5462DD #8B54DD
triadic
#5462DD #DD5462 #62DD54
tetradic
#5462DD #DD54A6 #DDCF54 #54DD8B
square
#5462DD #DD54A6 #DDCF54 #54DD8B
split-complementary
#5462DD #DD8B54 #A6DD54
monochromatic
#1E2B98 #2839CB #5462DD #8791E7 #BAC0F1

Accessibility & contrast

On white

5.04
#5462DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5462DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462DD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462DD#FFFFFF#000000##FFFFFF
##5462DD1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5462dd;
/* rgb */ color: rgb(84, 98, 221);
/* oklch */ color: oklch(55.4% 0.186 273.7);
Tailwind
colors: {
  custom: {
    50: '#918ee8',
    500: '#5462dd',
    950: '#000000',
  },
}
SCSS
$custom: #5462dd;
$custom-light: #918ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5462dd",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 233.869,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.18623,
    "h": 273.7
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#5462DD
secondary
#E1DBAC
accent
#D83EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5462DD

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

Preview Lab → · Contrast checker → · Palette generator →

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