#5462C8#5462C8

#5462C8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.8% C 0.158 H 274.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5462C8
RGBrgb(84, 98, 200)
HSLhsl(233, 51%, 56%)
HSVhsv(233, 58%, 78%)
CMYKcmyk(58%, 51%, 0%, 21.6%)
CIE-LABlab(45.34, 25.07, -54.97)
CIE-LCHlch(45.34, 60.41, 294.52°)
OKLaboklab(53.84% 0.011 -0.1572)
OKLCHoklch(53.84% 0.158 274)
XYZxyz(18.4458, 14.7889, 56.5149)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462C8 #C8BA54
analogous
#549CC8 #5462C8 #8054C8
triadic
#5462C8 #C85462 #62C854
tetradic
#5462C8 #C8549C #C8BA54 #54C880
square
#5462C8 #C8549C #C8BA54 #54C880
split-complementary
#5462C8 #C88054 #9CC854
monochromatic
#27317A #3644A9 #5462C8 #828DD7 #B1B7E6

Accessibility & contrast

On white

5.31
#5462C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5462C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462C8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462C8#FFFFFF#000000##FFFFFF
##5462C81.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CC
Deuteranopia (green-blind)
#1267C6
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5462c8;
/* rgb */ color: rgb(84, 98, 200);
/* oklch */ color: oklch(53.8% 0.158 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e8ed9',
    500: '#5462c8',
    950: '#000000',
  },
}
SCSS
$custom: #5462c8;
$custom-light: #8e8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5462c8",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 232.759,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.15762,
    "h": 274
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#5462C8
secondary
#D4CEA4
accent
#CA4DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5462C8

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

Preview Lab → · Contrast checker → · Palette generator →

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