#5462BF#5462BF

#5462BF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.145 H 274.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5462BF
RGBrgb(84, 98, 191)
HSLhsl(232, 46%, 54%)
HSVhsv(232, 56%, 75%)
CMYKcmyk(56%, 48.7%, 0%, 25.1%)
CIE-LABlab(44.77, 22.08, -50.68)
CIE-LCHlch(44.77, 55.28, 293.55°)
OKLaboklab(53.23% 0.0101 -0.1446)
OKLCHoklch(53.23% 0.145 274)
XYZxyz(17.4248, 14.3805, 51.1376)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5462BF #BFB154
analogous
#5498BF #5462BF #7C54BF
triadic
#5462BF #BF5462 #62BF54
tetradic
#5462BF #BF5498 #BFB154 #54BF7C
square
#5462BF #BF5498 #BFB154 #54BF7C
split-complementary
#5462BF #BF7C54 #98BF54
monochromatic
#2A336F #3A479C #5462BF #818BD0 #ADB4E0

Accessibility & contrast

On white

5.42
#5462BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5462BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5462BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5462BF#FFFFFF#000000##FFFFFF
##5462BF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#2566BD
Tritanopia (blue-blind)
#177787
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5462bf;
/* rgb */ color: rgb(84, 98, 191);
/* oklch */ color: oklch(53.2% 0.145 274.0);
Tailwind
colors: {
  custom: {
    50: '#8c8ed3',
    500: '#5462bf',
    950: '#000000',
  },
}
SCSS
$custom: #5462bf;
$custom-light: #8c8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5462bf",
  "rgb": {
    "r": 84,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 232.15,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.14499,
    "h": 274
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#5462BF
secondary
#CEC8A1
accent
#C453D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5462BF

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

Preview Lab → · Contrast checker → · Palette generator →

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