#5D5FCA#5D5FCA

#5D5FCA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.0% C 0.162 H 278.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D5FCA
RGBrgb(93, 95, 202)
HSLhsl(239, 51%, 58%)
HSVhsv(239, 54%, 79%)
CMYKcmyk(54%, 53%, 0%, 20.8%)
CIE-LABlab(45.32, 29.37, -56.12)
CIE-LCHlch(45.32, 63.34, 297.63°)
OKLaboklab(54.03% 0.0245 -0.1604)
OKLCHoklch(54.03% 0.162 278.7)
XYZxyz(19.2637, 14.7746, 57.7024)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FCA #CAC85D
analogous
#5D95CA #5D5FCA #915DCA
triadic
#5D5FCA #CA5D5F #5FCA5D
tetradic
#5D5FCA #CA5D95 #CAC85D #5DCA91
square
#5D5FCA #CA5D95 #CAC85D #5DCA91
split-complementary
#5D5FCA #CA915D #95CA5D
monochromatic
#2B2C82 #3A3CB0 #5D5FCA #8B8DD9 #B9BAE8

Accessibility & contrast

On white

5.31
#5D5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5D5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FCA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FCA#FFFFFF#000000##FFFFFF
##5D5FCA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#2A778B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5fca;
/* rgb */ color: rgb(93, 95, 202);
/* oklch */ color: oklch(54.0% 0.162 278.7);
Tailwind
colors: {
  custom: {
    50: '#938cdb',
    500: '#5d5fca',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fca;
$custom-light: #938cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fca",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 238.899,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.16229,
    "h": 278.7
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#5D5FCA
secondary
#D7D6AC
accent
#D84EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

#5D5FCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva