#5460EF#5460EF

#5460EF is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.212 H 273.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5460EF
RGBrgb(84, 96, 239)
HSLhsl(235, 83%, 63%)
HSVhsv(235, 65%, 94%)
CMYKcmyk(64.9%, 59.8%, 0%, 6.3%)
CIE-LABlab(47.60, 39.30, -73.48)
CIE-LCHlch(47.60, 83.33, 298.14°)
OKLaboklab(56.4% 0.0139 -0.2117)
OKLCHoklch(56.4% 0.212 273.8)
XYZxyz(23.4138, 16.4805, 83.5918)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5460EF #EFE354
analogous
#54ADEF #5460EF #9554EF
triadic
#5460EF #EF5460 #60EF54
tetradic
#5460EF #EF54AD #EFE354 #54EF95
square
#5460EF #EF54AD #EFE354 #54EF95
split-complementary
#5460EF #EF9554 #ADEF54
monochromatic
#111EB7 #1C2CEA #5460EF #8C94F4 #C4C8F9

Accessibility & contrast

On white

4.89
#5460EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5460EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5460EF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5460EF#FFFFFF#000000##FFFFFF
##5460EF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5460ef;
/* rgb */ color: rgb(84, 96, 239);
/* oklch */ color: oklch(56.4% 0.212 273.8);
Tailwind
colors: {
  custom: {
    50: '#958df5',
    500: '#5460ef',
    950: '#000000',
  },
}
SCSS
$custom: #5460ef;
$custom-light: #958df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5460ef",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 235.355,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.21216,
    "h": 273.8
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#5460EF
secondary
#EBE7B4
accent
#CE06DF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5460EF

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

Preview Lab → · Contrast checker → · Palette generator →

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