#5460CA#5460CA

#5460CA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.163 H 274.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5460CA
RGBrgb(84, 96, 202)
HSLhsl(234, 53%, 56%)
HSVhsv(234, 58%, 79%)
CMYKcmyk(58.4%, 52.5%, 0%, 20.8%)
CIE-LABlab(44.96, 26.99, -56.73)
CIE-LCHlch(44.96, 62.83, 295.44°)
OKLaboklab(53.6% 0.0132 -0.1625)
OKLCHoklch(53.6% 0.163 274.6)
XYZxyz(18.4962, 14.5134, 57.6924)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5460CA #CABE54
analogous
#549BCA #5460CA #8354CA
triadic
#5460CA #CA5460 #60CA54
tetradic
#5460CA #CA549B #CABE54 #54CA83
square
#5460CA #CA549B #CABE54 #54CA83
split-complementary
#5460CA #CA8354 #9BCA54
monochromatic
#272F7D #3541AC #5460CA #838BD8 #B1B7E7

Accessibility & contrast

On white

5.38
#5460CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5460CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5460CA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5460CA#FFFFFF#000000##FFFFFF
##5460CA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5460ca;
/* rgb */ color: rgb(84, 96, 202);
/* oklch */ color: oklch(53.6% 0.163 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ddb',
    500: '#5460ca',
    950: '#000000',
  },
}
SCSS
$custom: #5460ca;
$custom-light: #8e8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5460ca",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 233.898,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53597,
    "c": 0.16301,
    "h": 274.6
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#5460CA
secondary
#D5D0A5
accent
#CD4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5460CA

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

Preview Lab → · Contrast checker → · Palette generator →

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