#5462E8#5462E8

#5462E8 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.2% C 0.201 H 273.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5462E8
RGBrgb(84, 98, 232)
HSLhsl(234, 76%, 62%)
HSVhsv(234, 64%, 91%)
CMYKcmyk(63.8%, 57.8%, 0%, 9%)
CIE-LABlab(47.55, 35.76, -69.62)
CIE-LCHlch(47.55, 78.27, 297.19°)
OKLaboklab(56.2% 0.0123 -0.2003)
OKLCHoklch(56.2% 0.201 273.5)
XYZxyz(22.5845, 16.4444, 78.3122)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462E8 #E8DA54
analogous
#54ACE8 #5462E8 #9054E8
triadic
#5462E8 #E85462 #62E854
tetradic
#5462E8 #E854AC #E8DA54 #54E890
square
#5462E8 #E854AC #E8DA54 #54E890
split-complementary
#5462E8 #E89054 #ACE854
monochromatic
#1725AB #1E31E1 #5462E8 #8A94EF #C0C5F7

Accessibility & contrast

On white

4.90
#5462E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5462E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462E8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462E8#FFFFFF#000000##FFFFFF
##5462E81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5462e8;
/* rgb */ color: rgb(84, 98, 232);
/* oklch */ color: oklch(56.2% 0.201 273.5);
Tailwind
colors: {
  custom: {
    50: '#938ef0',
    500: '#5462e8',
    950: '#000000',
  },
}
SCSS
$custom: #5462e8;
$custom-light: #938ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5462e8",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 234.324,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56197,
    "c": 0.20073,
    "h": 273.5
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#5462E8
secondary
#E7E2B1
accent
#C50DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5462E8

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

Preview Lab → · Contrast checker → · Palette generator →

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