#5957DF#5957DF

#5957DF is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.9% C 0.201 H 277.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5957DF
RGBrgb(89, 87, 223)
HSLhsl(241, 68%, 61%)
HSVhsv(241, 61%, 87%)
CMYKcmyk(60.1%, 61%, 0%, 12.5%)
CIE-LABlab(44.61, 40.26, -69.30)
CIE-LCHlch(44.61, 80.14, 300.15°)
OKLaboklab(53.9% 0.0276 -0.1994)
OKLCHoklch(53.9% 0.201 277.9)
XYZxyz(20.8430, 14.2664, 71.4531)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957DF #DDDF57
analogous
#5799DF #5957DF #9D57DF
triadic
#5957DF #DF5957 #57DF59
tetradic
#5957DF #DF5799 #DDDF57 #57DF9D
square
#5957DF #DF5799 #DDDF57 #57DF9D
split-complementary
#5957DF #DF9D57 #99DF57
monochromatic
#201E9E #2A28D1 #5957DF #8C8AE9 #BFBEF3

Accessibility & contrast

On white

5.45
#5957DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5957DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957DF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957DF#FFFFFF#000000##FFFFFF
##5957DF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5957df;
/* rgb */ color: rgb(89, 87, 223);
/* oklch */ color: oklch(53.9% 0.201 277.9);
Tailwind
colors: {
  custom: {
    50: '#9587ea',
    500: '#5957df',
    950: '#000000',
  },
}
SCSS
$custom: #5957df;
$custom-light: #9587ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5957df",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 240.882,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53899,
    "c": 0.20126,
    "h": 277.9
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#5957DF
secondary
#E2E3AF
accent
#D016CD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5957DF

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

Preview Lab → · Contrast checker → · Palette generator →

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