#5457AF#5457AF

#5457AF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.137 H 278.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5457AF
RGBrgb(84, 87, 175)
HSLhsl(238, 36%, 51%)
HSVhsv(238, 52%, 69%)
CMYKcmyk(52%, 50.3%, 0%, 31.4%)
CIE-LABlab(40.89, 23.78, -47.56)
CIE-LCHlch(40.89, 53.17, 296.57°)
OKLaboklab(49.97% 0.0208 -0.1356)
OKLCHoklch(49.97% 0.137 278.7)
XYZxyz(14.7998, 11.7955, 42.0460)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457AF #AFAC54
analogous
#5484AF #5457AF #7E54AF
triadic
#5457AF #AF5457 #57AF54
tetradic
#5457AF #AF5484 #AFAC54 #54AF7E
square
#5457AF #AF5484 #AFAC54 #54AF7E
split-complementary
#5457AF #AF7E54 #84AF54
monochromatic
#2C2D5D #3F4187 #5457AF #7E80C3 #A7A9D6

Accessibility & contrast

On white

6.25
#5457AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5457AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457AF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457AF#FFFFFF#000000##FFFFFF
##5457AF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#2E6A7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5457af;
/* rgb */ color: rgb(84, 87, 175);
/* oklch */ color: oklch(50.0% 0.137 278.7);
Tailwind
colors: {
  custom: {
    50: '#8b86c7',
    500: '#5457af',
    950: '#000000',
  },
}
SCSS
$custom: #5457af;
$custom-light: #8b86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5457af",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 238.022,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49973,
    "c": 0.13715,
    "h": 278.7
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#5457AF
secondary
#C4C29B
accent
#C95CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5457AF

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

Preview Lab → · Contrast checker → · Palette generator →

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