#5C57CB#5C57CB

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

Color values

HEX#5C57CB
RGBrgb(92, 87, 203)
HSLhsl(243, 53%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(54.7%, 57.1%, 0%, 20.4%)
CIE-LABlab(43.36, 34.40, -59.86)
CIE-LCHlch(43.36, 69.04, 299.88°)
OKLaboklab(52.57% 0.0317 -0.1715)
OKLCHoklch(52.57% 0.174 280.5)
XYZxyz(18.5980, 13.4023, 58.0952)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57CB #C6CB57
analogous
#578CCB #5C57CB #9657CB
triadic
#5C57CB #CB5C57 #57CB5C
tetradic
#5C57CB #CB578C #C6CB57 #57CB96
square
#5C57CB #CB578C #C6CB57 #57CB96
split-complementary
#5C57CB #CB9657 #8CCB57
monochromatic
#2B2880 #3B36AF #5C57CB #8986D9 #B7B4E8

Accessibility & contrast

On white

5.71
#5C57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C57CB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57CB#FFFFFF#000000##FFFFFF
##5C57CB1.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)
#006BCF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#277288
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c57cb;
/* rgb */ color: rgb(92, 87, 203);
/* oklch */ color: oklch(52.6% 0.174 280.5);
Tailwind
colors: {
  custom: {
    50: '#9386dc',
    500: '#5c57cb',
    950: '#000000',
  },
}
SCSS
$custom: #5c57cb;
$custom-light: #9386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57cb",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 242.586,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.17445,
    "h": 280.5
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#5C57CB
secondary
#D5D7A7
accent
#DC4CD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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