#5E4FCB#5E4FCB

#5E4FCB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.4% C 0.185 H 283.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5E4FCB
RGBrgb(94, 79, 203)
HSLhsl(247, 54%, 55%)
HSVhsv(247, 61%, 80%)
CMYKcmyk(53.7%, 61.1%, 0%, 20.4%)
CIE-LABlab(41.66, 39.59, -62.62)
CIE-LCHlch(41.66, 74.08, 302.30°)
OKLaboklab(51.36% 0.0423 -0.1796)
OKLCHoklch(51.36% 0.185 283.3)
XYZxyz(18.1883, 12.2824, 57.9007)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FCB #BCCB4F
analogous
#4F7ECB #5E4FCB #9C4FCB
triadic
#5E4FCB #CB5E4F #4FCB5E
tetradic
#5E4FCB #CB4F7E #BCCB4F #4FCB9C
square
#5E4FCB #CB4F7E #BCCB4F #4FCB9C
split-complementary
#5E4FCB #CB9C4F #7ECB4F
monochromatic
#2F247B #4132AA #5E4FCB #897ED9 #B4ADE7

Accessibility & contrast

On white

6.08
#5E4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5E4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FCB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FCB#FFFFFF#000000##FFFFFF
##5E4FCB1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#2E6D85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4fcb;
/* rgb */ color: rgb(94, 79, 203);
/* oklch */ color: oklch(51.4% 0.185 283.3);
Tailwind
colors: {
  custom: {
    50: '#9581dc',
    500: '#5e4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fcb;
$custom-light: #9581dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fcb",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 247.258,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.18454,
    "h": 283.3
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#5E4FCB
secondary
#CFD5A1
accent
#DE4ACC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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