#5E56BB#5E56BB

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

Color values

HEX#5E56BB
RGBrgb(94, 86, 187)
HSLhsl(245, 43%, 54%)
HSVhsv(245, 54%, 73%)
CMYKcmyk(49.7%, 54%, 0%, 26.7%)
CIE-LABlab(42.19, 30.41, -52.47)
CIE-LCHlch(42.19, 60.64, 300.09°)
OKLaboklab(51.39% 0.0349 -0.1497)
OKLCHoklch(51.39% 0.154 283.1)
XYZxyz(16.9108, 12.6222, 48.5493)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56BB #B3BB56
analogous
#5680BB #5E56BB #9056BB
triadic
#5E56BB #BB5E56 #56BB5E
tetradic
#5E56BB #BB5680 #B3BB56 #56BB90
square
#5E56BB #BB5680 #B3BB56 #56BB90
split-complementary
#5E56BB #BB9056 #80BB56
monochromatic
#302B6B #443D97 #5E56BB #8882CD #B1ADDE

Accessibility & contrast

On white

5.96
#5E56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5E56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56BB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56BB#FFFFFF#000000##FFFFFF
##5E56BB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#1660B9
Tritanopia (blue-blind)
#3C6C80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e56bb;
/* rgb */ color: rgb(94, 86, 187);
/* oklch */ color: oklch(51.4% 0.154 283.1);
Tailwind
colors: {
  custom: {
    50: '#9286d0',
    500: '#5e56bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e56bb;
$custom-light: #9286d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56bb",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 244.752,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.15375,
    "h": 283.1
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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