#5462E7#5462E7

#5462E7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.199 H 273.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5462E7
RGBrgb(84, 98, 231)
HSLhsl(234, 75%, 62%)
HSVhsv(234, 64%, 91%)
CMYKcmyk(63.6%, 57.6%, 0%, 9.4%)
CIE-LABlab(47.48, 35.42, -69.17)
CIE-LCHlch(47.48, 77.72, 297.12°)
OKLaboklab(56.12% 0.0123 -0.199)
OKLCHoklch(56.12% 0.199 273.5)
XYZxyz(22.4429, 16.3878, 77.5663)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462E7 #E7D954
analogous
#54ACE7 #5462E7 #9054E7
triadic
#5462E7 #E75462 #62E754
tetradic
#5462E7 #E754AC #E7D954 #54E790
square
#5462E7 #E754AC #E7D954 #54E790
split-complementary
#5462E7 #E79054 #ACE754
monochromatic
#1826A9 #1F31DF #5462E7 #8A93EF #BFC5F6

Accessibility & contrast

On white

4.91
#5462E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5462E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462E7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462E7#FFFFFF#000000##FFFFFF
##5462E71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5462e7;
/* rgb */ color: rgb(84, 98, 231);
/* oklch */ color: oklch(56.1% 0.199 273.5);
Tailwind
colors: {
  custom: {
    50: '#938ef0',
    500: '#5462e7',
    950: '#000000',
  },
}
SCSS
$custom: #5462e7;
$custom-light: #938ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5462e7",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 234.286,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.19942,
    "h": 273.5
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#5462E7
secondary
#E7E1B0
accent
#C40ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5462E7

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

Preview Lab → · Contrast checker → · Palette generator →

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