#5D5FCF#5D5FCF

#5D5FCF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.169 H 278.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5D5FCF
RGBrgb(93, 95, 207)
HSLhsl(239, 54%, 59%)
HSVhsv(239, 55%, 81%)
CMYKcmyk(55.1%, 54.1%, 0%, 18.8%)
CIE-LABlab(45.66, 30.97, -58.46)
CIE-LCHlch(45.66, 66.15, 297.92°)
OKLaboklab(54.38% 0.0247 -0.1673)
OKLCHoklch(54.38% 0.169 278.4)
XYZxyz(19.8653, 15.0153, 60.8708)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FCF #CFCD5D
analogous
#5D98CF #5D5FCF #945DCF
triadic
#5D5FCF #CF5D5F #5FCF5D
tetradic
#5D5FCF #CF5D98 #CFCD5D #5DCF94
square
#5D5FCF #CF5D98 #CFCD5D #5DCF94
split-complementary
#5D5FCF #CF945D #98CF5D
monochromatic
#292A89 #3739B8 #5D5FCF #8C8EDD #BBBCEB

Accessibility & contrast

On white

5.25
#5D5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5D5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FCF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FCF#FFFFFF#000000##FFFFFF
##5D5FCF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#23798E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5fcf;
/* rgb */ color: rgb(93, 95, 207);
/* oklch */ color: oklch(54.4% 0.169 278.4);
Tailwind
colors: {
  custom: {
    50: '#948cde',
    500: '#5d5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fcf;
$custom-light: #948cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fcf",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 238.947,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.16912,
    "h": 278.4
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#5D5FCF
secondary
#DADAAD
accent
#DB4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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