#5E59BC#5E59BC

#5E59BC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.151 H 282.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5E59BC
RGBrgb(94, 89, 188)
HSLhsl(243, 42%, 54%)
HSVhsv(243, 53%, 74%)
CMYKcmyk(50%, 52.7%, 0%, 26.3%)
CIE-LABlab(42.99, 28.87, -51.75)
CIE-LCHlch(42.99, 59.26, 299.15°)
OKLaboklab(52.01% 0.0315 -0.1476)
OKLCHoklch(52.01% 0.151 282.1)
XYZxyz(17.2628, 13.1544, 49.1966)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E59BC #B7BC59
analogous
#5986BC #5E59BC #9059BC
triadic
#5E59BC #BC5E59 #59BC5E
tetradic
#5E59BC #BC5986 #B7BC59 #59BC90
square
#5E59BC #BC5986 #B7BC59 #59BC90
split-complementary
#5E59BC #BC9059 #86BC59
monochromatic
#302C6E #433E9A #5E59BC #8885CE #B3B0DF

Accessibility & contrast

On white

5.78
#5E59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5E59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E59BC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E59BC#FFFFFF#000000##FFFFFF
##5E59BC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#1D62BA
Tritanopia (blue-blind)
#3A6F82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e59bc;
/* rgb */ color: rgb(94, 89, 188);
/* oklch */ color: oklch(52.0% 0.151 282.1);
Tailwind
colors: {
  custom: {
    50: '#9288d1',
    500: '#5e59bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e59bc;
$custom-light: #9288d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e59bc",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 243.03,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52014,
    "c": 0.15094,
    "h": 282.1
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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