#5460DF#5460DF

#5460DF is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.1% C 0.191 H 274.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5460DF
RGBrgb(84, 96, 223)
HSLhsl(235, 68%, 60%)
HSVhsv(235, 62%, 87%)
CMYKcmyk(62.3%, 57%, 0%, 12.5%)
CIE-LABlab(46.41, 33.98, -66.38)
CIE-LCHlch(46.41, 74.57, 297.11°)
OKLaboklab(55.15% 0.014 -0.1908)
OKLCHoklch(55.15% 0.191 274.2)
XYZxyz(21.1539, 15.5765, 71.6895)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5460DF #DFD354
analogous
#54A6DF #5460DF #8D54DF
triadic
#5460DF #DF5460 #60DF54
tetradic
#5460DF #DF54A6 #DFD354 #54DF8D
square
#5460DF #DF54A6 #DFD354 #54DF8D
split-complementary
#5460DF #DF8D54 #A6DF54
monochromatic
#1D289C #2735CF #5460DF #8890E9 #BBC0F2

Accessibility & contrast

On white

5.10
#5460DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5460DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5460DF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5460DF#FFFFFF#000000##FFFFFF
##5460DF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5460df;
/* rgb */ color: rgb(84, 96, 223);
/* oklch */ color: oklch(55.1% 0.191 274.2);
Tailwind
colors: {
  custom: {
    50: '#928dea',
    500: '#5460df',
    950: '#000000',
  },
}
SCSS
$custom: #5460df;
$custom-light: #928dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5460df",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 234.82,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.19136,
    "h": 274.2
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#5460DF
secondary
#E2DDAD
accent
#C015D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5460DF

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

Preview Lab → · Contrast checker → · Palette generator →

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