#5D57BB#5D57BB

#5D57BB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.152 H 282.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5D57BB
RGBrgb(93, 87, 187)
HSLhsl(244, 42%, 54%)
HSVhsv(244, 53%, 73%)
CMYKcmyk(50.3%, 53.5%, 0%, 26.7%)
CIE-LABlab(42.35, 29.57, -52.21)
CIE-LCHlch(42.35, 60.00, 299.53°)
OKLaboklab(51.5% 0.0326 -0.149)
OKLCHoklch(51.5% 0.153 282.3)
XYZxyz(16.8893, 12.7305, 48.5714)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57BB #B5BB57
analogous
#5783BB #5D57BB #8F57BB
triadic
#5D57BB #BB5D57 #57BB5D
tetradic
#5D57BB #BB5783 #B5BB57 #57BB8F
square
#5D57BB #BB5783 #B5BB57 #57BB8F
split-complementary
#5D57BB #BB8F57 #83BB57
monochromatic
#302C6C #433D97 #5D57BB #8783CD #B1AEDE

Accessibility & contrast

On white

5.92
#5D57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5D57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57BB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57BB#FFFFFF#000000##FFFFFF
##5D57BB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#396D80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d57bb;
/* rgb */ color: rgb(93, 87, 187);
/* oklch */ color: oklch(51.5% 0.152 282.3);
Tailwind
colors: {
  custom: {
    50: '#9186d0',
    500: '#5d57bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d57bb;
$custom-light: #9186d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57bb",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 243.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.1525,
    "h": 282.3
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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