#5B5CCF#5B5CCF

#5B5CCF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.173 H 278.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5B5CCF
RGBrgb(91, 92, 207)
HSLhsl(239, 55%, 58%)
HSVhsv(239, 56%, 81%)
CMYKcmyk(56%, 55.6%, 0%, 18.8%)
CIE-LABlab(44.78, 32.43, -59.88)
CIE-LCHlch(44.78, 68.10, 298.44°)
OKLaboklab(53.69% 0.0255 -0.1716)
OKLCHoklch(53.69% 0.173 278.4)
XYZxyz(19.4004, 14.3821, 60.7731)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5CCF #CFCE5B
analogous
#5B96CF #5B5CCF #945BCF
triadic
#5B5CCF #CF5B5C #5CCF5B
tetradic
#5B5CCF #CF5B96 #CFCE5B #5BCF94
square
#5B5CCF #CF5B96 #CFCE5B #5BCF94
split-complementary
#5B5CCF #CF945B #96CF5B
monochromatic
#282988 #3637B7 #5B5CCF #8A8BDD #BABAEB

Accessibility & contrast

On white

5.42
#5B5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5B5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5CCF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5CCF#FFFFFF#000000##FFFFFF
##5B5CCF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026FD3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#1C778C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b5ccf;
/* rgb */ color: rgb(91, 92, 207);
/* oklch */ color: oklch(53.7% 0.173 278.4);
Tailwind
colors: {
  custom: {
    50: '#938ade',
    500: '#5b5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5b5ccf;
$custom-light: #938ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5ccf",
  "rgb": {
    "r": 91,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 239.483,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.17347,
    "h": 278.4
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#5B5CCF
secondary
#DADAAC
accent
#DD4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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