#5462DF#5462DF

#5462DF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.189 H 273.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5462DF
RGBrgb(84, 98, 223)
HSLhsl(234, 68%, 60%)
HSVhsv(234, 62%, 87%)
CMYKcmyk(62.3%, 56.1%, 0%, 12.5%)
CIE-LABlab(46.90, 32.75, -65.59)
CIE-LCHlch(46.90, 73.31, 296.54°)
OKLaboklab(55.51% 0.0122 -0.1885)
OKLCHoklch(55.51% 0.189 273.7)
XYZxyz(21.3387, 15.9461, 71.7511)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462DF #DFD154
analogous
#54A7DF #5462DF #8C54DF
triadic
#5462DF #DF5462 #62DF54
tetradic
#5462DF #DF54A7 #DFD154 #54DF8C
square
#5462DF #DF54A7 #DFD154 #54DF8C
split-complementary
#5462DF #DF8C54 #A7DF54
monochromatic
#1D2A9C #2738CF #5462DF #8891E9 #BBC1F2

Accessibility & contrast

On white

5.01
#5462DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5462DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462DF#FFFFFF#000000##FFFFFF
##5462DF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5462df;
/* rgb */ color: rgb(84, 98, 223);
/* oklch */ color: oklch(55.5% 0.189 273.7);
Tailwind
colors: {
  custom: {
    50: '#928eea',
    500: '#5462df',
    950: '#000000',
  },
}
SCSS
$custom: #5462df;
$custom-light: #928eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5462df",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 233.957,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5551,
    "c": 0.18889,
    "h": 273.7
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#5462DF
secondary
#E2DDAD
accent
#BE15D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5462DF

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

Preview Lab → · Contrast checker → · Palette generator →

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