#5462CD#5462CD

#5462CD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.165 H 274.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5462CD
RGBrgb(84, 98, 205)
HSLhsl(233, 55%, 57%)
HSVhsv(233, 59%, 80%)
CMYKcmyk(59%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.67, 26.74, -57.31)
CIE-LCHlch(45.67, 63.24, 295.01°)
OKLaboklab(54.2% 0.0114 -0.1641)
OKLCHoklch(54.2% 0.165 274)
XYZxyz(19.0397, 15.0265, 59.6428)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462CD #CDBF54
analogous
#549FCD #5462CD #8354CD
triadic
#5462CD #CD5462 #62CD54
tetradic
#5462CD #CD549F #CDBF54 #54CD83
square
#5462CD #CD549F #CDBF54 #54CD83
split-complementary
#5462CD #CD8354 #9FCD54
monochromatic
#263081 #3442B0 #5462CD #838DDB #B3B9E9

Accessibility & contrast

On white

5.24
#5462CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5462CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462CD#FFFFFF#000000##FFFFFF
##5462CD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5462cd;
/* rgb */ color: rgb(84, 98, 205);
/* oklch */ color: oklch(54.2% 0.165 274.0);
Tailwind
colors: {
  custom: {
    50: '#8f8edd',
    500: '#5462cd',
    950: '#000000',
  },
}
SCSS
$custom: #5462cd;
$custom-light: #8f8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5462cd",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 233.058,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.16454,
    "h": 274
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#5462CD
secondary
#D7D1A6
accent
#CD4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5462CD

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

Preview Lab → · Contrast checker → · Palette generator →

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