#5458CF#5458CF

#5458CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.180 H 276.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5458CF
RGBrgb(84, 88, 207)
HSLhsl(238, 56%, 57%)
HSVhsv(238, 59%, 81%)
CMYKcmyk(59.4%, 57.5%, 0%, 18.8%)
CIE-LABlab(43.31, 33.61, -62.28)
CIE-LCHlch(43.31, 70.77, 298.36°)
OKLaboklab(52.48% 0.0212 -0.1788)
OKLCHoklch(52.48% 0.18 276.8)
XYZxyz(18.4047, 13.3679, 60.6298)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5458CF #CFCB54
analogous
#5495CF #5458CF #8E54CF
triadic
#5458CF #CF5458 #58CF54
tetradic
#5458CF #CF5495 #CFCB54 #54CF8E
square
#5458CF #CF5495 #CFCB54 #54CF8E
split-complementary
#5458CF #CF8E54 #95CF54
monochromatic
#252884 #3237B3 #5458CF #8487DC #B4B5EA

Accessibility & contrast

On white

5.72
#5458CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5458CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5458CF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5458CF#FFFFFF#000000##FFFFFF
##5458CF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5458cf;
/* rgb */ color: rgb(84, 88, 207);
/* oklch */ color: oklch(52.5% 0.180 276.8);
Tailwind
colors: {
  custom: {
    50: '#8f87de',
    500: '#5458cf',
    950: '#000000',
  },
}
SCSS
$custom: #5458cf;
$custom-light: #8f87de;
$custom-dark: #000000;
JSON
{
  "hex": "#5458cf",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 238.049,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.18011,
    "h": 276.8
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#5458CF
secondary
#D8D7A6
accent
#DB48DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5458CF

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

Preview Lab → · Contrast checker → · Palette generator →

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