#5E5DB2#5E5DB2

#5E5DB2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.131 H 281.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5E5DB2
RGBrgb(94, 93, 178)
HSLhsl(241, 36%, 53%)
HSVhsv(241, 48%, 70%)
CMYKcmyk(47.2%, 47.8%, 0%, 30.2%)
CIE-LABlab(43.39, 23.28, -45.27)
CIE-LCHlch(43.39, 50.91, 297.22°)
OKLaboklab(52.11% 0.0259 -0.1285)
OKLCHoklch(52.11% 0.131 281.4)
XYZxyz(16.5639, 13.4219, 43.8288)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DB2 #B1B25D
analogous
#5D86B2 #5E5DB2 #885DB2
triadic
#5E5DB2 #B25E5D #5DB25E
tetradic
#5E5DB2 #B25D86 #B1B25D #5DB288
square
#5E5DB2 #B25D86 #B1B25D #5DB288
split-complementary
#5E5DB2 #B2885D #86B25D
monochromatic
#303065 #44448E #5E5DB2 #8786C6 #B0B0D9

Accessibility & contrast

On white

5.70
#5E5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5E5DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DB2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DB2#FFFFFF#000000##FFFFFF
##5E5DB21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#3463B0
Tritanopia (blue-blind)
#416F7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e5db2;
/* rgb */ color: rgb(94, 93, 178);
/* oklch */ color: oklch(52.1% 0.131 281.4);
Tailwind
colors: {
  custom: {
    50: '#918ac9',
    500: '#5e5db2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5db2;
$custom-light: #918ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5db2",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 240.706,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.13112,
    "h": 281.4
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#5E5DB2
secondary
#C7C8A3
accent
#CC5CCA
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5E5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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