#5E57BB#5E57BB

#5E57BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.152 H 282.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5E57BB
RGBrgb(94, 87, 187)
HSLhsl(244, 42%, 54%)
HSVhsv(244, 53%, 73%)
CMYKcmyk(49.7%, 53.5%, 0%, 26.7%)
CIE-LABlab(42.43, 29.79, -52.07)
CIE-LCHlch(42.43, 59.99, 299.77°)
OKLaboklab(51.58% 0.0338 -0.1486)
OKLCHoklch(51.58% 0.152 282.8)
XYZxyz(16.9912, 12.7830, 48.5761)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57BB #B4BB57
analogous
#5782BB #5E57BB #9057BB
triadic
#5E57BB #BB5E57 #57BB5E
tetradic
#5E57BB #BB5782 #B4BB57 #57BB90
square
#5E57BB #BB5782 #B4BB57 #57BB90
split-complementary
#5E57BB #BB9057 #82BB57
monochromatic
#302C6C #443D97 #5E57BB #8883CD #B1AEDE

Accessibility & contrast

On white

5.90
#5E57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5E57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57BB#FFFFFF#000000##FFFFFF
##5E57BB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BE
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#3B6D80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e57bb;
/* rgb */ color: rgb(94, 87, 187);
/* oklch */ color: oklch(51.6% 0.152 282.8);
Tailwind
colors: {
  custom: {
    50: '#9286d0',
    500: '#5e57bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e57bb;
$custom-light: #9286d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57bb",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 244.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.15235,
    "h": 282.8
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#5E57BB
secondary
#C9CCA2
accent
#D256C9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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