#5462E6#5462E6

#5462E6 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.198 H 273.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5462E6
RGBrgb(84, 98, 230)
HSLhsl(234, 74%, 62%)
HSVhsv(234, 63%, 90%)
CMYKcmyk(63.5%, 57.4%, 0%, 9.8%)
CIE-LABlab(47.41, 35.09, -68.73)
CIE-LCHlch(47.41, 77.17, 297.05°)
OKLaboklab(56.04% 0.0123 -0.1977)
OKLCHoklch(56.04% 0.198 273.6)
XYZxyz(22.3020, 16.3314, 76.8246)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462E6 #E6D854
analogous
#54ABE6 #5462E6 #8F54E6
triadic
#5462E6 #E65462 #62E654
tetradic
#5462E6 #E654AB #E6D854 #54E68F
square
#5462E6 #E654AB #E6D854 #54E68F
split-complementary
#5462E6 #E68F54 #ABE654
monochromatic
#1826A7 #2032DD #5462E6 #8993EE #BFC4F6

Accessibility & contrast

On white

4.92
#5462E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5462E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462E6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462E6#FFFFFF#000000##FFFFFF
##5462E61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5462e6;
/* rgb */ color: rgb(84, 98, 230);
/* oklch */ color: oklch(56.0% 0.198 273.6);
Tailwind
colors: {
  custom: {
    50: '#938eef',
    500: '#5462e6',
    950: '#000000',
  },
}
SCSS
$custom: #5462e6;
$custom-light: #938eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5462e6",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 234.247,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56043,
    "c": 0.19811,
    "h": 273.6
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#5462E6
secondary
#E6E1B0
accent
#C30FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5462E6

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

Preview Lab → · Contrast checker → · Palette generator →

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