#5462E1#5462E1

#5462E1 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.7% C 0.192 H 273.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5462E1
RGBrgb(84, 98, 225)
HSLhsl(234, 70%, 61%)
HSVhsv(234, 63%, 88%)
CMYKcmyk(62.7%, 56.4%, 0%, 11.8%)
CIE-LABlab(47.05, 33.42, -66.49)
CIE-LCHlch(47.05, 74.42, 296.69°)
OKLaboklab(55.66% 0.0123 -0.1911)
OKLCHoklch(55.66% 0.192 273.7)
XYZxyz(21.6099, 16.0546, 73.1796)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462E1 #E1D354
analogous
#54A8E1 #5462E1 #8D54E1
triadic
#5462E1 #E15462 #62E154
tetradic
#5462E1 #E154A8 #E1D354 #54E18D
square
#5462E1 #E154A8 #E1D354 #54E18D
split-complementary
#5462E1 #E18D54 #A8E154
monochromatic
#1C299F #2536D3 #5462E1 #8892EA #BCC2F3

Accessibility & contrast

On white

4.99
#5462E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5462E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462E1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462E1#FFFFFF#000000##FFFFFF
##5462E11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5462e1;
/* rgb */ color: rgb(84, 98, 225);
/* oklch */ color: oklch(55.7% 0.192 273.7);
Tailwind
colors: {
  custom: {
    50: '#928eeb',
    500: '#5462e1',
    950: '#000000',
  },
}
SCSS
$custom: #5462e1;
$custom-light: #928eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5462e1",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 234.043,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.19153,
    "h": 273.7
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

primary
#5462E1
secondary
#E3DEAE
accent
#BF13D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5462E1

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

Preview Lab → · Contrast checker → · Palette generator →

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