#5457CB#5457CB

#5457CB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.176 H 277.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5457CB
RGBrgb(84, 87, 203)
HSLhsl(238, 53%, 56%)
HSVhsv(238, 59%, 80%)
CMYKcmyk(58.6%, 57.1%, 0%, 20.4%)
CIE-LABlab(42.78, 32.91, -60.84)
CIE-LCHlch(42.78, 69.17, 298.42°)
OKLaboklab(51.99% 0.0222 -0.1746)
OKLCHoklch(51.99% 0.176 277.2)
XYZxyz(17.8404, 13.0117, 58.0597)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457CB #CBC854
analogous
#5493CB #5457CB #8D54CB
triadic
#5457CB #CB5457 #57CB54
tetradic
#5457CB #CB5493 #CBC854 #54CB8D
square
#5457CB #CB5493 #CBC854 #54CB8D
split-complementary
#5457CB #CB8D54 #93CB54
monochromatic
#26297E #3538AD #5457CB #8385D9 #B2B3E8

Accessibility & contrast

On white

5.83
#5457CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5457CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457CB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457CB#FFFFFF#000000##FFFFFF
##5457CB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5457cb;
/* rgb */ color: rgb(84, 87, 203);
/* oklch */ color: oklch(52.0% 0.176 277.2);
Tailwind
colors: {
  custom: {
    50: '#8f86dc',
    500: '#5457cb',
    950: '#000000',
  },
}
SCSS
$custom: #5457cb;
$custom-light: #8f86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5457cb",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 238.487,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.17602,
    "h": 277.2
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#5457CB
secondary
#D6D5A5
accent
#D94BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5457CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5457CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva