#5957CA#5957CA

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

Color values

HEX#5957CA
RGBrgb(89, 87, 202)
HSLhsl(241, 52%, 57%)
HSVhsv(241, 57%, 79%)
CMYKcmyk(55.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(43.07, 33.51, -59.78)
CIE-LCHlch(43.07, 68.53, 299.27°)
OKLaboklab(52.27% 0.0281 -0.1714)
OKLCHoklch(52.27% 0.174 279.3)
XYZxyz(18.1853, 13.2033, 57.4559)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957CA #C8CA57
analogous
#578FCA #5957CA #9257CA
triadic
#5957CA #CA5957 #57CA59
tetradic
#5957CA #CA578F #C8CA57 #57CA92
square
#5957CA #CA578F #C8CA57 #57CA92
split-complementary
#5957CA #CA9257 #8FCA57
monochromatic
#29287F #3937AD #5957CA #8786D9 #B5B4E7

Accessibility & contrast

On white

5.77
#5957CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5957CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957CA#FFFFFF#000000##FFFFFF
##5957CA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5957ca;
/* rgb */ color: rgb(89, 87, 202);
/* oklch */ color: oklch(52.3% 0.174 279.3);
Tailwind
colors: {
  custom: {
    50: '#9186db',
    500: '#5957ca',
    950: '#000000',
  },
}
SCSS
$custom: #5957ca;
$custom-light: #9186db;
$custom-dark: #000000;
JSON
{
  "hex": "#5957ca",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 241.043,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.17365,
    "h": 279.3
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#5957CA
secondary
#D5D6A7
accent
#DB4CD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5957CA

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

Preview Lab → · Contrast checker → · Palette generator →

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