#5460CD#5460CD

#5460CD is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.167 H 274.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5460CD
RGBrgb(84, 96, 205)
HSLhsl(234, 55%, 57%)
HSVhsv(234, 59%, 80%)
CMYKcmyk(59%, 53.2%, 0%, 19.6%)
CIE-LABlab(45.16, 27.98, -58.14)
CIE-LCHlch(45.16, 64.52, 295.70°)
OKLaboklab(53.81% 0.0134 -0.1666)
OKLCHoklch(53.81% 0.167 274.6)
XYZxyz(18.8549, 14.6569, 59.5812)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5460CD #CDC154
analogous
#549CCD #5460CD #8554CD
triadic
#5460CD #CD5460 #60CD54
tetradic
#5460CD #CD549C #CDC154 #54CD85
square
#5460CD #CD549C #CDC154 #54CD85
split-complementary
#5460CD #CD8554 #9CCD54
monochromatic
#262F81 #3440B0 #5460CD #838CDB #B3B8E9

Accessibility & contrast

On white

5.34
#5460CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5460CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5460CD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5460CD#FFFFFF#000000##FFFFFF
##5460CD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5460cd;
/* rgb */ color: rgb(84, 96, 205);
/* oklch */ color: oklch(53.8% 0.167 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ddd',
    500: '#5460cd',
    950: '#000000',
  },
}
SCSS
$custom: #5460cd;
$custom-light: #8f8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5460cd",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 234.05,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53812,
    "c": 0.16713,
    "h": 274.6
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#5460CD
secondary
#D7D2A6
accent
#CF4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5460CD

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

Preview Lab → · Contrast checker → · Palette generator →

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