#5458CC#5458CC

#5458CC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.176 H 276.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5458CC
RGBrgb(84, 88, 204)
HSLhsl(238, 54%, 56%)
HSVhsv(238, 59%, 80%)
CMYKcmyk(58.8%, 56.9%, 0%, 20%)
CIE-LABlab(43.10, 32.63, -60.90)
CIE-LCHlch(43.10, 69.09, 298.18°)
OKLaboklab(52.25% 0.0212 -0.1748)
OKLCHoklch(52.25% 0.176 276.9)
XYZxyz(18.0415, 13.2226, 58.7165)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5458CC #CCC854
analogous
#5494CC #5458CC #8C54CC
triadic
#5458CC #CC5458 #58CC54
tetradic
#5458CC #CC5494 #CCC854 #54CC8C
square
#5458CC #CC5494 #CCC854 #54CC8C
split-complementary
#5458CC #CC8C54 #94CC54
monochromatic
#262980 #3438AF #5458CC #8386DA #B2B4E8

Accessibility & contrast

On white

5.76
#5458CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5458CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5458CC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5458CC#FFFFFF#000000##FFFFFF
##5458CC1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5458cc;
/* rgb */ color: rgb(84, 88, 204);
/* oklch */ color: oklch(52.2% 0.176 276.9);
Tailwind
colors: {
  custom: {
    50: '#8f87dc',
    500: '#5458cc',
    950: '#000000',
  },
}
SCSS
$custom: #5458cc;
$custom-light: #8f87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5458cc",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 238,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.17608,
    "h": 276.9
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#5458CC
secondary
#D7D5A5
accent
#D94ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5458CC

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

Preview Lab → · Contrast checker → · Palette generator →

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