#5957F5#5957F5

#5957F5 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.229 H 276.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5957F5
RGBrgb(89, 87, 245)
HSLhsl(241, 89%, 65%)
HSVhsv(241, 64%, 96%)
CMYKcmyk(63.7%, 64.5%, 0%, 3.9%)
CIE-LABlab(46.35, 47.29, -78.86)
CIE-LCHlch(46.35, 91.95, 300.95°)
OKLaboklab(55.71% 0.026 -0.2274)
OKLCHoklch(55.71% 0.229 276.5)
XYZxyz(24.0041, 15.5308, 88.1013)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957F5 #F3F557
analogous
#57A4F5 #5957F5 #A857F5
triadic
#5957F5 #F55957 #57F559
tetradic
#5957F5 #F557A4 #F3F557 #57F5A8
square
#5957F5 #F557A4 #F3F557 #57F5A8
split-complementary
#5957F5 #F5A857 #A4F557
monochromatic
#0E0CC6 #201DF2 #5957F5 #9291F8 #CBCBFC

Accessibility & contrast

On white

5.11
#5957F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5957F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957F5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957F5#FFFFFF#000000##FFFFFF
##5957F51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FA
Deuteranopia (green-blind)
#0067F2
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5957f5;
/* rgb */ color: rgb(89, 87, 245);
/* oklch */ color: oklch(55.7% 0.229 276.5);
Tailwind
colors: {
  custom: {
    50: '#9987fa',
    500: '#5957f5',
    950: '#000000',
  },
}
SCSS
$custom: #5957f5;
$custom-light: #9987fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5957f5",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 240.759,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.22892,
    "h": 276.5
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#5957F5
secondary
#EEEFB9
accent
#E500E2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5957F5

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

Preview Lab → · Contrast checker → · Palette generator →

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