#5458BF#5458BF

#5458BF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.158 H 277.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5458BF
RGBrgb(84, 88, 191)
HSLhsl(238, 46%, 54%)
HSVhsv(238, 56%, 75%)
CMYKcmyk(56%, 53.9%, 0%, 25.1%)
CIE-LABlab(42.19, 28.36, -54.83)
CIE-LCHlch(42.19, 61.73, 297.35°)
OKLaboklab(51.29% 0.0209 -0.1569)
OKLCHoklch(51.29% 0.158 277.6)
XYZxyz(16.5469, 12.6247, 50.8450)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5458BF #BFBB54
analogous
#548EBF #5458BF #8654BF
triadic
#5458BF #BF5458 #58BF54
tetradic
#5458BF #BF548E #BFBB54 #54BF86
square
#5458BF #BF548E #BFBB54 #54BF86
split-complementary
#5458BF #BF8654 #8EBF54
monochromatic
#2A2C6F #3A3E9C #5458BF #8183D0 #ADAFE0

Accessibility & contrast

On white

5.96
#5458BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5458BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5458BF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5458BF#FFFFFF#000000##FFFFFF
##5458BF1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#1B7083
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5458bf;
/* rgb */ color: rgb(84, 88, 191);
/* oklch */ color: oklch(51.3% 0.158 277.6);
Tailwind
colors: {
  custom: {
    50: '#8d87d3',
    500: '#5458bf',
    950: '#000000',
  },
}
SCSS
$custom: #5458bf;
$custom-light: #8d87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5458bf",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 237.757,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.15833,
    "h": 277.6
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#5458BF
secondary
#CECDA1
accent
#D053D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5458BF

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

Preview Lab → · Contrast checker → · Palette generator →

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