#5A57F3#5A57F3

#5A57F3 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.226 H 277.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5A57F3
RGBrgb(90, 87, 243)
HSLhsl(241, 87%, 65%)
HSVhsv(241, 64%, 95%)
CMYKcmyk(63%, 64.2%, 0%, 4.7%)
CIE-LABlab(46.26, 46.79, -77.90)
CIE-LCHlch(46.26, 90.87, 300.99°)
OKLaboklab(55.61% 0.0274 -0.2246)
OKLCHoklch(55.61% 0.226 277)
XYZxyz(23.7971, 15.4592, 86.5065)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A57F3 #F0F357
analogous
#57A2F3 #5A57F3 #A857F3
triadic
#5A57F3 #F35A57 #57F35A
tetradic
#5A57F3 #F357A2 #F0F357 #57F3A8
square
#5A57F3 #F357A2 #F0F357 #57F3A8
split-complementary
#5A57F3 #F3A857 #A2F357
monochromatic
#110EC2 #221EEF #5A57F3 #9290F7 #CAC9FB

Accessibility & contrast

On white

5.13
#5A57F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5A57F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A57F3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A57F3#FFFFFF#000000##FFFFFF
##5A57F31.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#0067F0
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a57f3;
/* rgb */ color: rgb(90, 87, 243);
/* oklch */ color: oklch(55.6% 0.226 277.0);
Tailwind
colors: {
  custom: {
    50: '#9987f8',
    500: '#5a57f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a57f3;
$custom-light: #9987f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a57f3",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 241.154,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.22624,
    "h": 277
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#5A57F3
secondary
#EDEEB8
accent
#E302DF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A57F3

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

Preview Lab → · Contrast checker → · Palette generator →

#5A57F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva