#5957CB#5957CB

#5957CB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.175 H 279.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5957CB
RGBrgb(89, 87, 203)
HSLhsl(241, 53%, 57%)
HSVhsv(241, 57%, 80%)
CMYKcmyk(56.2%, 57.1%, 0%, 20.4%)
CIE-LABlab(43.14, 33.83, -60.24)
CIE-LCHlch(43.14, 69.09, 299.32°)
OKLaboklab(52.35% 0.0281 -0.1727)
OKLCHoklch(52.35% 0.175 279.2)
XYZxyz(18.3041, 13.2508, 58.0815)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957CB #C9CB57
analogous
#578FCB #5957CB #9357CB
triadic
#5957CB #CB5957 #57CB59
tetradic
#5957CB #CB578F #C9CB57 #57CB93
square
#5957CB #CB578F #C9CB57 #57CB93
split-complementary
#5957CB #CB9357 #8FCB57
monochromatic
#292880 #3836AF #5957CB #8786D9 #B5B4E8

Accessibility & contrast

On white

5.75
#5957CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5957CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957CB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957CB#FFFFFF#000000##FFFFFF
##5957CB1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#1C7288
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5957cb;
/* rgb */ color: rgb(89, 87, 203);
/* oklch */ color: oklch(52.3% 0.175 279.2);
Tailwind
colors: {
  custom: {
    50: '#9286dc',
    500: '#5957cb',
    950: '#000000',
  },
}
SCSS
$custom: #5957cb;
$custom-light: #9286dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5957cb",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 241.034,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.175,
    "h": 279.2
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#5957CB
secondary
#D6D7A7
accent
#DC4CDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5957CB

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

Preview Lab → · Contrast checker → · Palette generator →

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