#5E4FBF#5E4FBF

#5E4FBF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.169 H 284.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5E4FBF
RGBrgb(94, 79, 191)
HSLhsl(248, 47%, 53%)
HSVhsv(248, 59%, 75%)
CMYKcmyk(50.8%, 58.6%, 0%, 25.1%)
CIE-LABlab(40.79, 35.90, -57.07)
CIE-LCHlch(40.79, 67.42, 302.18°)
OKLaboklab(50.44% 0.0428 -0.1633)
OKLCHoklch(50.44% 0.169 284.7)
XYZxyz(16.8132, 11.7324, 50.6588)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FBF #B0BF4F
analogous
#4F78BF #5E4FBF #964FBF
triadic
#5E4FBF #BF5E4F #4FBF5E
tetradic
#5E4FBF #BF4F78 #B0BF4F #4FBF96
square
#5E4FBF #BF4F78 #B0BF4F #4FBF96
split-complementary
#5E4FBF #BF964F #78BF4F
monochromatic
#31276C #453899 #5E4FBF #877CCF #B0A9E0

Accessibility & contrast

On white

6.28
#5E4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5E4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FBF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FBF#FFFFFF#000000##FFFFFF
##5E4FBF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#39697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4fbf;
/* rgb */ color: rgb(94, 79, 191);
/* oklch */ color: oklch(50.4% 0.169 284.7);
Tailwind
colors: {
  custom: {
    50: '#9381d3',
    500: '#5e4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fbf;
$custom-light: #9381d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fbf",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 248.036,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.1688,
    "h": 284.7
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#5E4FBF
secondary
#C7CD9D
accent
#D651C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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