#5460C8#5460C8

#5460C8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.160 H 274.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5460C8
RGBrgb(84, 96, 200)
HSLhsl(234, 51%, 56%)
HSVhsv(234, 58%, 78%)
CMYKcmyk(58%, 52%, 0%, 21.6%)
CIE-LABlab(44.83, 26.32, -55.80)
CIE-LCHlch(44.83, 61.69, 295.26°)
OKLaboklab(53.46% 0.0131 -0.1597)
OKLCHoklch(53.46% 0.16 274.7)
XYZxyz(18.2610, 14.4193, 56.4533)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5460C8 #C8BC54
analogous
#549AC8 #5460C8 #8254C8
triadic
#5460C8 #C85460 #60C854
tetradic
#5460C8 #C8549A #C8BC54 #54C882
square
#5460C8 #C8549A #C8BC54 #54C882
split-complementary
#5460C8 #C88254 #9AC854
monochromatic
#27307A #3642A9 #5460C8 #828BD7 #B1B6E6

Accessibility & contrast

On white

5.41
#5460C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5460C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5460C8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5460C8#FFFFFF#000000##FFFFFF
##5460C81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#0565C6
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5460c8;
/* rgb */ color: rgb(84, 96, 200);
/* oklch */ color: oklch(53.5% 0.160 274.7);
Tailwind
colors: {
  custom: {
    50: '#8e8dd9',
    500: '#5460c8',
    950: '#000000',
  },
}
SCSS
$custom: #5460c8;
$custom-light: #8e8dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5460c8",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 200
  },
  "hsl": {
    "h": 233.793,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.16023,
    "h": 274.7
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#5460C8
secondary
#D4CFA4
accent
#CC4DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5460C8

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

Preview Lab → · Contrast checker → · Palette generator →

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