#5952BF#5952BF

#5952BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.165 H 281.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5952BF
RGBrgb(89, 82, 191)
HSLhsl(244, 46%, 54%)
HSVhsv(244, 57%, 75%)
CMYKcmyk(53.4%, 57.1%, 0%, 25.1%)
CIE-LABlab(41.09, 33.07, -56.60)
CIE-LCHlch(41.09, 65.56, 300.30°)
OKLaboklab(50.56% 0.0333 -0.1621)
OKLCHoklch(50.56% 0.165 281.6)
XYZxyz(16.5382, 11.9190, 50.7093)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952BF #B8BF52
analogous
#5281BF #5952BF #8F52BF
triadic
#5952BF #BF5952 #52BF59
tetradic
#5952BF #BF5281 #B8BF52 #52BF8F
square
#5952BF #BF5281 #B8BF52 #52BF8F
split-complementary
#5952BF #BF8F52 #81BF52
monochromatic
#2D296E #3F399B #5952BF #847FD0 #AFABE0

Accessibility & contrast

On white

6.21
#5952BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5952BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952BF#FFFFFF#000000##FFFFFF
##5952BF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#2D6B80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5952bf;
/* rgb */ color: rgb(89, 82, 191);
/* oklch */ color: oklch(50.6% 0.165 281.6);
Tailwind
colors: {
  custom: {
    50: '#9083d3',
    500: '#5952bf',
    950: '#000000',
  },
}
SCSS
$custom: #5952bf;
$custom-light: #9083d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5952bf",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 243.853,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.16544,
    "h": 281.6
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#5952BF
secondary
#CBCE9F
accent
#D652CD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5952BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5952BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva