#5457EF#5457EF

#5457EF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.223 H 275.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5457EF
RGBrgb(84, 87, 239)
HSLhsl(239, 83%, 63%)
HSVhsv(239, 65%, 94%)
CMYKcmyk(64.9%, 63.6%, 0%, 6.3%)
CIE-LABlab(45.54, 44.68, -76.84)
CIE-LCHlch(45.54, 88.89, 300.18°)
OKLaboklab(54.88% 0.0208 -0.2216)
OKLCHoklch(54.88% 0.223 275.4)
XYZxyz(22.6392, 14.9312, 83.3336)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457EF #EFEC54
analogous
#54A4EF #5457EF #9E54EF
triadic
#5457EF #EF5457 #57EF54
tetradic
#5457EF #EF54A4 #EFEC54 #54EF9E
square
#5457EF #EF54A4 #EFEC54 #54EF9E
split-complementary
#5457EF #EF9E54 #A4EF54
monochromatic
#1114B7 #1C20EA #5457EF #8C8EF4 #C4C5F9

Accessibility & contrast

On white

5.27
#5457EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5457EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457EF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457EF#FFFFFF#000000##FFFFFF
##5457EF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5457ef;
/* rgb */ color: rgb(84, 87, 239);
/* oklch */ color: oklch(54.9% 0.223 275.4);
Tailwind
colors: {
  custom: {
    50: '#9587f5',
    500: '#5457ef',
    950: '#000000',
  },
}
SCSS
$custom: #5457ef;
$custom-light: #9587f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5457ef",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 238.839,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.2226,
    "h": 275.4
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#5457EF
secondary
#EBEAB4
accent
#DB06DF
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5457EF

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

Preview Lab → · Contrast checker → · Palette generator →

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