#5460E1#5460E1

#5460E1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.194 H 274.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5460E1
RGBrgb(84, 96, 225)
HSLhsl(235, 70%, 61%)
HSVhsv(235, 63%, 88%)
CMYKcmyk(62.7%, 57.3%, 0%, 11.8%)
CIE-LABlab(46.56, 34.65, -67.28)
CIE-LCHlch(46.56, 75.68, 297.25°)
OKLaboklab(55.3% 0.014 -0.1935)
OKLCHoklch(55.3% 0.194 274.1)
XYZxyz(21.4251, 15.6850, 73.1180)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5460E1 #E1D554
analogous
#54A6E1 #5460E1 #8F54E1
triadic
#5460E1 #E15460 #60E154
tetradic
#5460E1 #E154A6 #E1D554 #54E18F
square
#5460E1 #E154A6 #E1D554 #54E18F
split-complementary
#5460E1 #E18F54 #A6E154
monochromatic
#1C279F #2534D3 #5460E1 #8890EA #BCC1F3

Accessibility & contrast

On white

5.08
#5460E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5460E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5460E1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5460E1#FFFFFF#000000##FFFFFF
##5460E11.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5460e1;
/* rgb */ color: rgb(84, 96, 225);
/* oklch */ color: oklch(55.3% 0.194 274.1);
Tailwind
colors: {
  custom: {
    50: '#928deb',
    500: '#5460e1',
    950: '#000000',
  },
}
SCSS
$custom: #5460e1;
$custom-light: #928deb;
$custom-dark: #000000;
JSON
{
  "hex": "#5460e1",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 225
  },
  "hsl": {
    "h": 234.894,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55298,
    "c": 0.194,
    "h": 274.1
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#5460E1
secondary
#E3DFAE
accent
#C213D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5460E1

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

Preview Lab → · Contrast checker → · Palette generator →

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