#5952CF#5952CF

#5952CF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.187 H 280.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5952CF
RGBrgb(89, 82, 207)
HSLhsl(243, 57%, 57%)
HSVhsv(243, 60%, 81%)
CMYKcmyk(57%, 60.4%, 0%, 18.8%)
CIE-LABlab(42.25, 38.15, -63.99)
CIE-LCHlch(42.25, 74.49, 300.80°)
OKLaboklab(51.78% 0.0329 -0.1838)
OKLCHoklch(51.78% 0.187 280.2)
XYZxyz(18.3961, 12.6622, 60.4941)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952CF #C8CF52
analogous
#528ACF #5952CF #9852CF
triadic
#5952CF #CF5952 #52CF59
tetradic
#5952CF #CF528A #C8CF52 #52CF98
square
#5952CF #CF528A #C8CF52 #52CF98
split-complementary
#5952CF #CF9852 #8ACF52
monochromatic
#292482 #3931B2 #5952CF #8782DC #B5B2EA

Accessibility & contrast

On white

5.94
#5952CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5952CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952CF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952CF#FFFFFF#000000##FFFFFF
##5952CF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#157089
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5952cf;
/* rgb */ color: rgb(89, 82, 207);
/* oklch */ color: oklch(51.8% 0.187 280.2);
Tailwind
colors: {
  custom: {
    50: '#9283df',
    500: '#5952cf',
    950: '#000000',
  },
}
SCSS
$custom: #5952cf;
$custom-light: #9283df;
$custom-dark: #000000;
JSON
{
  "hex": "#5952cf",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 243.36,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.18671,
    "h": 280.2
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#5952CF
secondary
#D5D8A5
accent
#E048D7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5952CF

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

Preview Lab → · Contrast checker → · Palette generator →

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