#5957FE#5957FE

#5957FE is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.5% C 0.240 H 276.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5957FE
RGBrgb(89, 87, 254)
HSLhsl(241, 99%, 67%)
HSVhsv(241, 66%, 100%)
CMYKcmyk(65%, 65.7%, 0%, 0.4%)
CIE-LABlab(47.10, 50.14, -82.67)
CIE-LCHlch(47.10, 96.68, 301.24°)
OKLaboklab(56.48% 0.0251 -0.2386)
OKLCHoklch(56.48% 0.24 276)
XYZxyz(25.4116, 16.0938, 95.5140)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957FE #FCFE57
analogous
#57A8FE #5957FE #AD57FE
triadic
#5957FE #FE5957 #57FE59
tetradic
#5957FE #FE57A8 #FCFE57 #57FEAD
square
#5957FE #FE57A8 #FCFE57 #57FEAD
split-complementary
#5957FE #FEAD57 #A8FE57
monochromatic
#0401D9 #1D1AFE #5957FE #9594FE #D1D1FF

Accessibility & contrast

On white

4.98
#5957FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5957FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957FE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957FE#FFFFFF#000000##FFFFFF
##5957FE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0068FB
Tritanopia (blue-blind)
#0083A3
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5957fe;
/* rgb */ color: rgb(89, 87, 254);
/* oklch */ color: oklch(56.5% 0.240 276.0);
Tailwind
colors: {
  custom: {
    50: '#9a87ff',
    500: '#5957fe',
    950: '#000000',
  },
}
SCSS
$custom: #5957fe;
$custom-light: #9a87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5957fe",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 254
  },
  "hsl": {
    "h": 240.719,
    "s": 98.817,
    "l": 66.863
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.2399,
    "h": 276
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#5957FE
secondary
#F2F3BE
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5957FE

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

Preview Lab → · Contrast checker → · Palette generator →

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