#5462D6#5462D6

#5462D6 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.177 H 273.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5462D6
RGBrgb(84, 98, 214)
HSLhsl(234, 61%, 58%)
HSVhsv(234, 61%, 84%)
CMYKcmyk(60.7%, 54.2%, 0%, 16.1%)
CIE-LABlab(46.28, 29.74, -61.49)
CIE-LCHlch(46.28, 68.30, 295.81°)
OKLaboklab(54.84% 0.0119 -0.1764)
OKLCHoklch(54.84% 0.177 273.9)
XYZxyz(20.1574, 15.4736, 65.5298)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462D6 #D6C854
analogous
#54A3D6 #5462D6 #8754D6
triadic
#5462D6 #D65462 #62D654
tetradic
#5462D6 #D654A3 #D6C854 #54D687
square
#5462D6 #D654A3 #D6C854 #54D687
split-complementary
#5462D6 #D68754 #A3D654
monochromatic
#222E8E #2E3DBF #5462D6 #858FE2 #B7BDEE

Accessibility & contrast

On white

5.13
#5462D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5462D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462D6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462D6#FFFFFF#000000##FFFFFF
##5462D61.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E73DA
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5462d6;
/* rgb */ color: rgb(84, 98, 214);
/* oklch */ color: oklch(54.8% 0.177 273.9);
Tailwind
colors: {
  custom: {
    50: '#908ee3',
    500: '#5462d6',
    950: '#000000',
  },
}
SCSS
$custom: #5462d6;
$custom-light: #908ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#5462d6",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 233.538,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.17683,
    "h": 273.9
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#5462D6
secondary
#DDD7A9
accent
#D343E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5462D6

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

Preview Lab → · Contrast checker → · Palette generator →

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