#5E55AF#5E55AF

#5E55AF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.138 H 284.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5E55AF
RGBrgb(94, 85, 175)
HSLhsl(246, 36%, 51%)
HSVhsv(246, 51%, 69%)
CMYKcmyk(46.3%, 51.4%, 0%, 31.4%)
CIE-LABlab(41.17, 27.34, -47.06)
CIE-LCHlch(41.17, 54.43, 300.15°)
OKLaboklab(50.38% 0.0354 -0.1338)
OKLCHoklch(50.38% 0.138 284.8)
XYZxyz(15.6002, 11.9711, 42.0378)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E55AF #A6AF55
analogous
#5579AF #5E55AF #8B55AF
triadic
#5E55AF #AF5E55 #55AF5E
tetradic
#5E55AF #AF5579 #A6AF55 #55AF8B
square
#5E55AF #AF5579 #A6AF55 #55AF8B
split-complementary
#5E55AF #AF8B55 #79AF55
monochromatic
#312C5E #474087 #5E55AF #857FC3 #ADA8D6

Accessibility & contrast

On white

6.19
#5E55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5E55AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E55AF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E55AF#FFFFFF#000000##FFFFFF
##5E55AF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#43687A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e55af;
/* rgb */ color: rgb(94, 85, 175);
/* oklch */ color: oklch(50.4% 0.138 284.8);
Tailwind
colors: {
  custom: {
    50: '#9185c7',
    500: '#5e55af',
    950: '#000000',
  },
}
SCSS
$custom: #5e55af;
$custom-light: #9185c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e55af",
  "rgb": {
    "r": 94,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 246,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.13845,
    "h": 284.8
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#5E55AF
secondary
#C0C49C
accent
#CC5CC1
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5E55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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