#5462CE#5462CE

#5462CE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.166 H 274.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5462CE
RGBrgb(84, 98, 206)
HSLhsl(233, 55%, 57%)
HSVhsv(233, 59%, 81%)
CMYKcmyk(59.2%, 52.4%, 0%, 19.2%)
CIE-LABlab(45.74, 27.07, -57.78)
CIE-LCHlch(45.74, 63.81, 295.10°)
OKLaboklab(54.27% 0.0115 -0.1655)
OKLCHoklch(54.27% 0.166 274)
XYZxyz(19.1608, 15.0749, 60.2806)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462CE #CEC054
analogous
#549FCE #5462CE #8354CE
triadic
#5462CE #CE5462 #62CE54
tetradic
#5462CE #CE549F #CEC054 #54CE83
square
#5462CE #CE549F #CEC054 #54CE83
split-complementary
#5462CE #CE8354 #9FCE54
monochromatic
#253082 #3342B2 #5462CE #848EDC #B3B9E9

Accessibility & contrast

On white

5.23
#5462CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5462CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462CE#FFFFFF#000000##FFFFFF
##5462CE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5462ce;
/* rgb */ color: rgb(84, 98, 206);
/* oklch */ color: oklch(54.3% 0.166 274.0);
Tailwind
colors: {
  custom: {
    50: '#8f8ede',
    500: '#5462ce',
    950: '#000000',
  },
}
SCSS
$custom: #5462ce;
$custom-light: #8f8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5462ce",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 233.115,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.16593,
    "h": 274
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#5462CE
secondary
#D8D2A6
accent
#CE49DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5462CE

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

Preview Lab → · Contrast checker → · Palette generator →

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