#5457CF#5457CF

#5457CF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.181 H 277.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5457CF
RGBrgb(84, 87, 207)
HSLhsl(239, 56%, 57%)
HSVhsv(239, 59%, 81%)
CMYKcmyk(59.4%, 58%, 0%, 18.8%)
CIE-LABlab(43.07, 34.23, -62.67)
CIE-LCHlch(43.07, 71.41, 298.64°)
OKLaboklab(52.3% 0.0222 -0.18)
OKLCHoklch(52.3% 0.181 277)
XYZxyz(18.3232, 13.2048, 60.6026)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457CF #CFCC54
analogous
#5494CF #5457CF #8F54CF
triadic
#5457CF #CF5457 #57CF54
tetradic
#5457CF #CF5494 #CFCC54 #54CF8F
square
#5457CF #CF5494 #CFCC54 #54CF8F
split-complementary
#5457CF #CF8F54 #94CF54
monochromatic
#252784 #3236B3 #5457CF #8486DC #B4B5EA

Accessibility & contrast

On white

5.77
#5457CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5457CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457CF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457CF#FFFFFF#000000##FFFFFF
##5457CF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5457cf;
/* rgb */ color: rgb(84, 87, 207);
/* oklch */ color: oklch(52.3% 0.181 277.0);
Tailwind
colors: {
  custom: {
    50: '#9086de',
    500: '#5457cf',
    950: '#000000',
  },
}
SCSS
$custom: #5457cf;
$custom-light: #9086de;
$custom-dark: #000000;
JSON
{
  "hex": "#5457cf",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 238.537,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.18137,
    "h": 277
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5457CF

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

Preview Lab → · Contrast checker → · Palette generator →

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