#5D5FC8#5D5FC8

#5D5FC8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.160 H 278.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D5FC8
RGBrgb(93, 95, 200)
HSLhsl(239, 49%, 57%)
HSVhsv(239, 54%, 78%)
CMYKcmyk(53.5%, 52.5%, 0%, 21.6%)
CIE-LABlab(45.19, 28.73, -55.18)
CIE-LCHlch(45.19, 62.21, 297.51°)
OKLaboklab(53.89% 0.0244 -0.1577)
OKLCHoklch(53.89% 0.16 278.8)
XYZxyz(19.0285, 14.6805, 56.4633)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FC8 #C8C65D
analogous
#5D94C8 #5D5FC8 #915DC8
triadic
#5D5FC8 #C85D5F #5FC85D
tetradic
#5D5FC8 #C85D94 #C8C65D #5DC891
square
#5D5FC8 #C85D94 #C8C65D #5DC891
split-complementary
#5D5FC8 #C8915D #94C85D
monochromatic
#2B2D7F #3B3DAD #5D5FC8 #8B8CD8 #B8B9E7

Accessibility & contrast

On white

5.33
#5D5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5D5FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FC8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FC8#FFFFFF#000000##FFFFFF
##5D5FC81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#1467C6
Tritanopia (blue-blind)
#2C778A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5fc8;
/* rgb */ color: rgb(93, 95, 200);
/* oklch */ color: oklch(53.9% 0.160 278.8);
Tailwind
colors: {
  custom: {
    50: '#938cd9',
    500: '#5d5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fc8;
$custom-light: #938cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fc8",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 238.879,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.15953,
    "h": 278.8
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#5D5FC8
secondary
#D6D5AB
accent
#D64FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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