#5D57CA#5D57CA

#5D57CA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.173 H 281.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5D57CA
RGBrgb(93, 87, 202)
HSLhsl(243, 52%, 57%)
HSVhsv(243, 57%, 79%)
CMYKcmyk(54%, 56.9%, 0%, 20.8%)
CIE-LABlab(43.37, 34.28, -59.27)
CIE-LCHlch(43.37, 68.47, 300.04°)
OKLaboklab(52.57% 0.033 -0.1698)
OKLCHoklch(52.57% 0.173 281)
XYZxyz(18.5798, 13.4067, 57.4744)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57CA #C4CA57
analogous
#578BCA #5D57CA #9657CA
triadic
#5D57CA #CA5D57 #57CA5D
tetradic
#5D57CA #CA578B #C4CA57 #57CA96
square
#5D57CA #CA578B #C4CA57 #57CA96
split-complementary
#5D57CA #CA9657 #8BCA57
monochromatic
#2C287F #3D37AD #5D57CA #8A86D9 #B7B4E7

Accessibility & contrast

On white

5.70
#5D57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5D57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57CA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57CA#FFFFFF#000000##FFFFFF
##5D57CA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#2B7288
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d57ca;
/* rgb */ color: rgb(93, 87, 202);
/* oklch */ color: oklch(52.6% 0.173 281.0);
Tailwind
colors: {
  custom: {
    50: '#9486db',
    500: '#5d57ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d57ca;
$custom-light: #9486db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57ca",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 243.13,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.17294,
    "h": 281
  },
  "luminance": 0.13408
}

Semantic roles & 50–950 ramp

primary
#5D57CA
secondary
#D3D6A7
accent
#DB4CD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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