#5462F6#5462F6

#5462F6 is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.3% C 0.219 H 273.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5462F6
RGBrgb(84, 98, 246)
HSLhsl(235, 90%, 65%)
HSVhsv(235, 66%, 96%)
CMYKcmyk(65.9%, 60.2%, 0%, 3.5%)
CIE-LABlab(48.60, 40.42, -75.76)
CIE-LCHlch(48.60, 85.87, 298.08°)
OKLaboklab(57.3% 0.0121 -0.2184)
OKLCHoklch(57.3% 0.219 273.2)
XYZxyz(24.6528, 17.2718, 89.2055)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462F6 #F6E854
analogous
#54B3F6 #5462F6 #9754F6
triadic
#5462F6 #F65462 #62F654
tetradic
#5462F6 #F654B3 #F6E854 #54F697
square
#5462F6 #F654B3 #F6E854 #54F697
split-complementary
#5462F6 #F69754 #B3F654
monochromatic
#0A1BC5 #1A2DF3 #5462F6 #8E97F9 #C8CDFC

Accessibility & contrast

On white

4.71
#5462F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5462F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462F6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462F6#FFFFFF#000000##FFFFFF
##5462F61.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#006CF3
Tritanopia (blue-blind)
#0087A3
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5462f6;
/* rgb */ color: rgb(84, 98, 246);
/* oklch */ color: oklch(57.3% 0.219 273.2);
Tailwind
colors: {
  custom: {
    50: '#968efa',
    500: '#5462f6',
    950: '#000000',
  },
}
SCSS
$custom: #5462f6;
$custom-light: #968efa;
$custom-dark: #000000;
JSON
{
  "hex": "#5462f6",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 234.815,
    "s": 90,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.21874,
    "h": 273.2
  },
  "luminance": 0.17274
}

Semantic roles & 50–950 ramp

primary
#5462F6
secondary
#EFEAB7
accent
#D200E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5462F6

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

Preview Lab → · Contrast checker → · Palette generator →

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