#5458CA#5458CA

#5458CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.173 H 277.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5458CA
RGBrgb(84, 88, 202)
HSLhsl(238, 53%, 56%)
HSVhsv(238, 58%, 79%)
CMYKcmyk(58.4%, 56.4%, 0%, 20.8%)
CIE-LABlab(42.95, 31.97, -59.98)
CIE-LCHlch(42.95, 67.96, 298.06°)
OKLaboklab(52.1% 0.0212 -0.1721)
OKLCHoklch(52.1% 0.173 277)
XYZxyz(17.8031, 13.1272, 57.4613)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5458CA #CAC654
analogous
#5493CA #5458CA #8B54CA
triadic
#5458CA #CA5458 #58CA54
tetradic
#5458CA #CA5493 #CAC654 #54CA8B
square
#5458CA #CA5493 #CAC654 #54CA8B
split-complementary
#5458CA #CA8B54 #93CA54
monochromatic
#272A7D #3539AC #5458CA #8386D8 #B1B3E7

Accessibility & contrast

On white

5.79
#5458CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5458CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5458CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5458CA#FFFFFF#000000##FFFFFF
##5458CA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5458ca;
/* rgb */ color: rgb(84, 88, 202);
/* oklch */ color: oklch(52.1% 0.173 277.0);
Tailwind
colors: {
  custom: {
    50: '#8f87db',
    500: '#5458ca',
    950: '#000000',
  },
}
SCSS
$custom: #5458ca;
$custom-light: #8f87db;
$custom-dark: #000000;
JSON
{
  "hex": "#5458ca",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 237.966,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.17338,
    "h": 277
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#5458CA
secondary
#D5D4A5
accent
#D74CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5458CA

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

Preview Lab → · Contrast checker → · Palette generator →

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