#5857CA#5857CA

#5857CA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.174 H 278.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5857CA
RGBrgb(88, 87, 202)
HSLhsl(241, 52%, 57%)
HSVhsv(241, 57%, 79%)
CMYKcmyk(56.4%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.99, 33.32, -59.90)
CIE-LCHlch(42.99, 68.54, 299.09°)
OKLaboklab(52.2% 0.0269 -0.1718)
OKLCHoklch(52.2% 0.174 278.9)
XYZxyz(18.0900, 13.1541, 57.4514)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857CA #C9CA57
analogous
#5790CA #5857CA #9257CA
triadic
#5857CA #CA5857 #57CA58
tetradic
#5857CA #CA5790 #C9CA57 #57CA92
square
#5857CA #CA5790 #C9CA57 #57CA92
split-complementary
#5857CA #CA9257 #90CA57
monochromatic
#29287F #3837AD #5857CA #8686D9 #B4B4E7

Accessibility & contrast

On white

5.78
#5857CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5857CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857CA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857CA#FFFFFF#000000##FFFFFF
##5857CA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#197288
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5857ca;
/* rgb */ color: rgb(88, 87, 202);
/* oklch */ color: oklch(52.2% 0.174 278.9);
Tailwind
colors: {
  custom: {
    50: '#9186db',
    500: '#5857ca',
    950: '#000000',
  },
}
SCSS
$custom: #5857ca;
$custom-light: #9186db;
$custom-dark: #000000;
JSON
{
  "hex": "#5857ca",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 240.522,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.522,
    "c": 0.17384,
    "h": 278.9
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#5857CA
secondary
#D6D6A7
accent
#DB4CDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5857CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5857CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva