#5957AF#5957AF

#5957AF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.136 H 281.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5957AF
RGBrgb(89, 87, 175)
HSLhsl(241, 35%, 51%)
HSVhsv(241, 50%, 69%)
CMYKcmyk(49.1%, 50.3%, 0%, 31.4%)
CIE-LABlab(41.27, 24.92, -46.92)
CIE-LCHlch(41.27, 53.13, 297.97°)
OKLaboklab(50.36% 0.0268 -0.1336)
OKLCHoklch(50.36% 0.136 281.3)
XYZxyz(15.2635, 12.0346, 42.0678)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5957AF #ADAF57
analogous
#5781AF #5957AF #8557AF
triadic
#5957AF #AF5957 #57AF59
tetradic
#5957AF #AF5781 #ADAF57 #57AF85
square
#5957AF #AF5781 #ADAF57 #57AF85
split-complementary
#5957AF #AF8557 #81AF57
monochromatic
#2E2D5F #424188 #5957AF #8280C3 #ABAAD6

Accessibility & contrast

On white

6.16
#5957AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5957AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5957AF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5957AF#FFFFFF#000000##FFFFFF
##5957AF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#396A7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5957af;
/* rgb */ color: rgb(89, 87, 175);
/* oklch */ color: oklch(50.4% 0.136 281.3);
Tailwind
colors: {
  custom: {
    50: '#8e86c7',
    500: '#5957af',
    950: '#000000',
  },
}
SCSS
$custom: #5957af;
$custom-light: #8e86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5957af",
  "rgb": {
    "r": 89,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 241.364,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.13623,
    "h": 281.3
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#5957AF
secondary
#C3C49E
accent
#CC5CC9
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5957AF

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

Preview Lab → · Contrast checker → · Palette generator →

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