#5460E8#5460E8

#5460E8 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 55.8% C 0.203 H 274.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5460E8
RGBrgb(84, 96, 232)
HSLhsl(235, 76%, 62%)
HSVhsv(235, 64%, 91%)
CMYKcmyk(63.8%, 58.6%, 0%, 9%)
CIE-LABlab(47.07, 36.98, -70.40)
CIE-LCHlch(47.07, 79.52, 297.71°)
OKLaboklab(55.84% 0.014 -0.2027)
OKLCHoklch(55.84% 0.203 274)
XYZxyz(22.3997, 16.0748, 78.2506)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5460E8 #E8DC54
analogous
#54AAE8 #5460E8 #9254E8
triadic
#5460E8 #E85460 #60E854
tetradic
#5460E8 #E854AA #E8DC54 #54E892
square
#5460E8 #E854AA #E8DC54 #54E892
split-complementary
#5460E8 #E89254 #AAE854
monochromatic
#1723AB #1E2EE1 #5460E8 #8A92EF #C0C4F7

Accessibility & contrast

On white

4.98
#5460E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5460E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5460E8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5460E8#FFFFFF#000000##FFFFFF
##5460E81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5460e8;
/* rgb */ color: rgb(84, 96, 232);
/* oklch */ color: oklch(55.8% 0.203 274.0);
Tailwind
colors: {
  custom: {
    50: '#938df0',
    500: '#5460e8',
    950: '#000000',
  },
}
SCSS
$custom: #5460e8;
$custom-light: #938df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5460e8",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 235.135,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.20314,
    "h": 274
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#5460E8
secondary
#E7E3B1
accent
#C80DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #5460E8

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

Preview Lab → · Contrast checker → · Palette generator →

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