#5D56BB#5D56BB

#5D56BB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.154 H 282.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D56BB
RGBrgb(93, 86, 187)
HSLhsl(244, 43%, 54%)
HSVhsv(244, 54%, 73%)
CMYKcmyk(50.3%, 54%, 0%, 26.7%)
CIE-LABlab(42.11, 30.19, -52.60)
CIE-LCHlch(42.11, 60.65, 299.85°)
OKLaboklab(51.31% 0.0337 -0.1502)
OKLCHoklch(51.31% 0.154 282.6)
XYZxyz(16.8089, 12.5697, 48.5446)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56BB #B4BB56
analogous
#5681BB #5D56BB #8F56BB
triadic
#5D56BB #BB5D56 #56BB5D
tetradic
#5D56BB #BB5681 #B4BB56 #56BB8F
square
#5D56BB #BB5681 #B4BB56 #56BB8F
split-complementary
#5D56BB #BB8F56 #81BB56
monochromatic
#302B6B #433D97 #5D56BB #8782CD #B1ADDE

Accessibility & contrast

On white

5.98
#5D56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5D56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56BB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56BB#FFFFFF#000000##FFFFFF
##5D56BB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#396C80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d56bb;
/* rgb */ color: rgb(93, 86, 187);
/* oklch */ color: oklch(51.3% 0.154 282.6);
Tailwind
colors: {
  custom: {
    50: '#9286d0',
    500: '#5d56bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d56bb;
$custom-light: #9286d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56bb",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 244.158,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.1539,
    "h": 282.6
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#5D56BB
secondary
#C9CCA1
accent
#D255CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5D56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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