#5457BC#5457BC

#5457BC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.155 H 278.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5457BC
RGBrgb(84, 87, 188)
HSLhsl(238, 44%, 53%)
HSVhsv(238, 55%, 74%)
CMYKcmyk(55.3%, 53.7%, 0%, 26.3%)
CIE-LABlab(41.74, 28.00, -53.82)
CIE-LCHlch(41.74, 60.67, 297.49°)
OKLaboklab(50.88% 0.0218 -0.154)
OKLCHoklch(50.88% 0.156 278)
XYZxyz(16.1386, 12.3310, 49.0969)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457BC #BCB954
analogous
#548BBC #5457BC #8554BC
triadic
#5457BC #BC5457 #57BC54
tetradic
#5457BC #BC548B #BCB954 #54BC85
square
#5457BC #BC548B #BCB954 #54BC85
split-complementary
#5457BC #BC8554 #8BBC54
monochromatic
#2A2C6B #3B3E97 #5457BC #8082CD #ACADDE

Accessibility & contrast

On white

6.06
#5457BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5457BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457BC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457BC#FFFFFF#000000##FFFFFF
##5457BC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#206E81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5457bc;
/* rgb */ color: rgb(84, 87, 188);
/* oklch */ color: oklch(50.9% 0.155 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c86d1',
    500: '#5457bc',
    950: '#000000',
  },
}
SCSS
$custom: #5457bc;
$custom-light: #8c86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5457bc",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 238.269,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.1555,
    "h": 278
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#5457BC
secondary
#CCCBA0
accent
#D054D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5457BC

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

Preview Lab → · Contrast checker → · Palette generator →

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