#5E59BB#5E59BB

#5E59BB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.150 H 282.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5E59BB
RGBrgb(94, 89, 187)
HSLhsl(243, 42%, 54%)
HSVhsv(243, 52%, 73%)
CMYKcmyk(49.7%, 52.4%, 0%, 26.7%)
CIE-LABlab(42.93, 28.56, -51.27)
CIE-LCHlch(42.93, 58.69, 299.12°)
OKLaboklab(51.94% 0.0315 -0.1462)
OKLCHoklch(51.94% 0.15 282.2)
XYZxyz(17.1554, 13.1114, 48.6309)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59BB #B6BB59
analogous
#5985BB #5E59BB #8F59BB
triadic
#5E59BB #BB5E59 #59BB5E
tetradic
#5E59BB #BB5985 #B6BB59 #59BB8F
square
#5E59BB #BB5985 #B6BB59 #59BB8F
split-complementary
#5E59BB #BB8F59 #85BB59
monochromatic
#302D6D #433E98 #5E59BB #8884CD #B2B0DF

Accessibility & contrast

On white

5.80
#5E59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5E59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59BB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59BB#FFFFFF#000000##FFFFFF
##5E59BB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BE
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#3B6F81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e59bb;
/* rgb */ color: rgb(94, 89, 187);
/* oklch */ color: oklch(51.9% 0.150 282.2);
Tailwind
colors: {
  custom: {
    50: '#9288d0',
    500: '#5e59bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e59bb;
$custom-light: #9288d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59bb",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 243.061,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.14955,
    "h": 282.2
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#5E59BB
secondary
#CBCDA3
accent
#D256CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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