#5462EF#5462EF

#5462EF is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.7% C 0.210 H 273.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5462EF
RGBrgb(84, 98, 239)
HSLhsl(235, 83%, 63%)
HSVhsv(235, 65%, 94%)
CMYKcmyk(64.9%, 59%, 0%, 6.3%)
CIE-LABlab(48.07, 38.09, -72.71)
CIE-LCHlch(48.07, 82.08, 297.65°)
OKLaboklab(56.74% 0.0123 -0.2094)
OKLCHoklch(56.74% 0.21 273.4)
XYZxyz(23.5986, 16.8501, 83.6534)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462EF #EFE154
analogous
#54AFEF #5462EF #9354EF
triadic
#5462EF #EF5462 #62EF54
tetradic
#5462EF #EF54AF #EFE154 #54EF93
square
#5462EF #EF54AF #EFE154 #54EF93
split-complementary
#5462EF #EF9354 #AFEF54
monochromatic
#1120B7 #1C2FEA #5462EF #8C95F4 #C4C9F9

Accessibility & contrast

On white

4.81
#5462EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5462EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462EF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462EF#FFFFFF#000000##FFFFFF
##5462EF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5462ef;
/* rgb */ color: rgb(84, 98, 239);
/* oklch */ color: oklch(56.7% 0.210 273.4);
Tailwind
colors: {
  custom: {
    50: '#948ef5',
    500: '#5462ef',
    950: '#000000',
  },
}
SCSS
$custom: #5462ef;
$custom-light: #948ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5462ef",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 234.581,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.20979,
    "h": 273.4
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#5462EF
secondary
#EBE6B4
accent
#CC06DF
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5462EF

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

Preview Lab → · Contrast checker → · Palette generator →

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