#5457D3#5457D3

#5457D3 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.187 H 276.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5457D3
RGBrgb(84, 87, 211)
HSLhsl(239, 59%, 58%)
HSVhsv(239, 60%, 83%)
CMYKcmyk(60.2%, 58.8%, 0%, 17.3%)
CIE-LABlab(43.36, 35.54, -64.49)
CIE-LCHlch(43.36, 73.63, 298.86°)
OKLaboklab(52.61% 0.0222 -0.1854)
OKLCHoklch(52.61% 0.187 276.8)
XYZxyz(18.8184, 13.4029, 63.2107)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457D3 #D3D054
analogous
#5496D3 #5457D3 #9154D3
triadic
#5457D3 #D35457 #57D354
tetradic
#5457D3 #D35496 #D3D054 #54D391
square
#5457D3 #D35496 #D3D054 #54D391
split-complementary
#5457D3 #D39154 #96D354
monochromatic
#232689 #3033BA #5457D3 #8587E0 #B5B7EC

Accessibility & contrast

On white

5.71
#5457D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5457D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457D3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457D3#FFFFFF#000000##FFFFFF
##5457D31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5457d3;
/* rgb */ color: rgb(84, 87, 211);
/* oklch */ color: oklch(52.6% 0.187 276.8);
Tailwind
colors: {
  custom: {
    50: '#9086e1',
    500: '#5457d3',
    950: '#000000',
  },
}
SCSS
$custom: #5457d3;
$custom-light: #9086e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5457d3",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 211
  },
  "hsl": {
    "h": 238.583,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.18669,
    "h": 276.8
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#5457D3
secondary
#DBDAA8
accent
#DF46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5457D3

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

Preview Lab → · Contrast checker → · Palette generator →

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