#5E58BB#5E58BB

#5E58BB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.151 H 282.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5E58BB
RGBrgb(94, 88, 187)
HSLhsl(244, 42%, 54%)
HSVhsv(244, 53%, 73%)
CMYKcmyk(49.7%, 52.9%, 0%, 26.7%)
CIE-LABlab(42.68, 29.17, -51.67)
CIE-LCHlch(42.68, 59.34, 299.45°)
OKLaboklab(51.76% 0.0326 -0.1474)
OKLCHoklch(51.76% 0.151 282.5)
XYZxyz(17.0727, 12.9461, 48.6033)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58BB #B5BB58
analogous
#5884BB #5E58BB #9058BB
triadic
#5E58BB #BB5E58 #58BB5E
tetradic
#5E58BB #BB5884 #B5BB58 #58BB90
square
#5E58BB #BB5884 #B5BB58 #58BB90
split-complementary
#5E58BB #BB9058 #84BB58
monochromatic
#302C6C #433E98 #5E58BB #8883CD #B2AFDE

Accessibility & contrast

On white

5.85
#5E58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58BB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58BB#FFFFFF#000000##FFFFFF
##5E58BB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#1C61B9
Tritanopia (blue-blind)
#3B6E81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e58bb;
/* rgb */ color: rgb(94, 88, 187);
/* oklch */ color: oklch(51.8% 0.151 282.5);
Tailwind
colors: {
  custom: {
    50: '#9287d0',
    500: '#5e58bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e58bb;
$custom-light: #9287d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58bb",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 243.636,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.15096,
    "h": 282.5
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#5E58BB
secondary
#CACDA2
accent
#D256CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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