#5E4FBB#5E4FBB

#5E4FBB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.163 H 285.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5E4FBB
RGBrgb(94, 79, 187)
HSLhsl(248, 44%, 52%)
HSVhsv(248, 58%, 73%)
CMYKcmyk(49.7%, 57.8%, 0%, 26.7%)
CIE-LABlab(40.51, 34.68, -55.18)
CIE-LCHlch(40.51, 65.18, 302.15°)
OKLaboklab(50.14% 0.0429 -0.1578)
OKLCHoklch(50.14% 0.163 285.2)
XYZxyz(16.3791, 11.5587, 48.3721)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FBB #ACBB4F
analogous
#4F76BB #5E4FBB #944FBB
triadic
#5E4FBB #BB5E4F #4FBB5E
tetradic
#5E4FBB #BB4F76 #ACBB4F #4FBB94
square
#5E4FBB #BB4F76 #ACBB4F #4FBB94
split-complementary
#5E4FBB #BB944F #76BB4F
monochromatic
#312868 #463994 #5E4FBB #867BCC #AFA7DD

Accessibility & contrast

On white

6.34
#5E4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5E4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FBB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FBB#FFFFFF#000000##FFFFFF
##5E4FBB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#3C687D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4fbb;
/* rgb */ color: rgb(94, 79, 187);
/* oklch */ color: oklch(50.1% 0.163 285.2);
Tailwind
colors: {
  custom: {
    50: '#9381d0',
    500: '#5e4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fbb;
$custom-light: #9381d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fbb",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 248.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.16348,
    "h": 285.2
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#5E4FBB
secondary
#C4CA9B
accent
#D454C2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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