#5462AE#5462AE

#5462AE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.120 H 273.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5462AE
RGBrgb(84, 98, 174)
HSLhsl(231, 36%, 51%)
HSVhsv(231, 52%, 68%)
CMYKcmyk(51.7%, 43.7%, 0%, 31.8%)
CIE-LABlab(43.76, 16.51, -42.37)
CIE-LCHlch(43.76, 45.48, 291.29°)
OKLaboklab(52.14% 0.0077 -0.1203)
OKLCHoklch(52.14% 0.121 273.6)
XYZxyz(15.6614, 13.6752, 41.8505)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462AE #AEA054
analogous
#548FAE #5462AE #7354AE
triadic
#5462AE #AE5462 #62AE54
tetradic
#5462AE #AE548F #AEA054 #54AE73
square
#5462AE #AE548F #AEA054 #54AE73
split-complementary
#5462AE #AE7354 #8FAE54
monochromatic
#2C335C #3F4A86 #5462AE #7E88C2 #A7AED5

Accessibility & contrast

On white

5.62
#5462AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5462AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462AE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462AE#FFFFFF#000000##FFFFFF
##5462AE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BB1
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#2D727F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5462ae;
/* rgb */ color: rgb(84, 98, 174);
/* oklch */ color: oklch(52.1% 0.120 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a8ec6',
    500: '#5462ae',
    950: '#000000',
  },
}
SCSS
$custom: #5462ae;
$custom-light: #8a8ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5462ae",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 230.667,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.1205,
    "h": 273.6
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#5462AE
secondary
#C3BD9B
accent
#BA5CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5462AE

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

Preview Lab → · Contrast checker → · Palette generator →

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