#5E5FAC#5E5FAC

#5E5FAC is a mid, moderate blue. Relative luminance 0.135; OKLCH L 52.1% C 0.120 H 280.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5E5FAC
RGBrgb(94, 95, 172)
HSLhsl(239, 32%, 52%)
HSVhsv(239, 45%, 67%)
CMYKcmyk(45.3%, 44.8%, 0%, 32.5%)
CIE-LABlab(43.57, 20.19, -41.47)
CIE-LCHlch(43.57, 46.12, 295.96°)
OKLaboklab(52.14% 0.0225 -0.1174)
OKLCHoklch(52.14% 0.12 280.9)
XYZxyz(16.1525, 13.5419, 40.7845)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FAC #ACAB5E
analogous
#5E86AC #5E5FAC #845EAC
triadic
#5E5FAC #AC5E5F #5FAC5E
tetradic
#5E5FAC #AC5E86 #ACAB5E #5EAC84
square
#5E5FAC #AC5E86 #ACAB5E #5EAC84
split-complementary
#5E5FAC #AC845E #86AC5E
monochromatic
#31315F #464787 #5E5FAC #8687C1 #AFAFD6

Accessibility & contrast

On white

5.66
#5E5FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5E5FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FAC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FAC#FFFFFF#000000##FFFFFF
##5E5FAC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#446F7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e5fac;
/* rgb */ color: rgb(94, 95, 172);
/* oklch */ color: oklch(52.1% 0.120 280.9);
Tailwind
colors: {
  custom: {
    50: '#908cc5',
    500: '#5e5fac',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fac;
$custom-light: #908cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fac",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 239.231,
    "s": 31.967,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.11952,
    "h": 280.9
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#5E5FAC
secondary
#C4C3A2
accent
#C760C8
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5E5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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