#5E59BA#5E59BA

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

Color values

HEX#5E59BA
RGBrgb(94, 89, 186)
HSLhsl(243, 41%, 54%)
HSVhsv(243, 52%, 73%)
CMYKcmyk(49.5%, 52.2%, 0%, 27.1%)
CIE-LABlab(42.87, 28.25, -50.79)
CIE-LCHlch(42.87, 58.12, 299.08°)
OKLaboklab(51.88% 0.0314 -0.1448)
OKLCHoklch(51.88% 0.148 282.2)
XYZxyz(17.0487, 13.0687, 48.0690)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59BA #B5BA59
analogous
#5985BA #5E59BA #8F59BA
triadic
#5E59BA #BA5E59 #59BA5E
tetradic
#5E59BA #BA5985 #B5BA59 #59BA8F
square
#5E59BA #BA5985 #B5BA59 #59BA8F
split-complementary
#5E59BA #BA8F59 #85BA59
monochromatic
#302D6C #433F97 #5E59BA #8884CC #B2AFDE

Accessibility & contrast

On white

5.81
#5E59BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5E59BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59BA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59BA#FFFFFF#000000##FFFFFF
##5E59BA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BD
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#3C6E81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e59ba;
/* rgb */ color: rgb(94, 89, 186);
/* oklch */ color: oklch(51.9% 0.148 282.2);
Tailwind
colors: {
  custom: {
    50: '#9288cf',
    500: '#5e59ba',
    950: '#000000',
  },
}
SCSS
$custom: #5e59ba;
$custom-light: #9288cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59ba",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 243.093,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51877,
    "c": 0.14816,
    "h": 282.2
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#5E59BA
secondary
#CACCA3
accent
#D157CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E59BA

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

Preview Lab → · Contrast checker → · Palette generator →

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