#5E4FD3#5E4FD3

#5E4FD3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.0% C 0.195 H 282.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5E4FD3
RGBrgb(94, 79, 211)
HSLhsl(247, 60%, 57%)
HSVhsv(247, 63%, 83%)
CMYKcmyk(55.5%, 62.6%, 0%, 17.3%)
CIE-LABlab(42.27, 42.05, -66.24)
CIE-LCHlch(42.27, 78.46, 302.41°)
OKLaboklab(51.99% 0.0418 -0.1903)
OKLCHoklch(51.99% 0.195 282.4)
XYZxyz(19.1663, 12.6736, 63.0517)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FD3 #C4D34F
analogous
#4F82D3 #5E4FD3 #A04FD3
triadic
#5E4FD3 #D35E4F #4FD35E
tetradic
#5E4FD3 #D34F82 #C4D34F #4FD3A0
square
#5E4FD3 #D34F82 #C4D34F #4FD3A0
split-complementary
#5E4FD3 #D3A04F #82D34F
monochromatic
#2D2286 #3D2EB7 #5E4FD3 #8B80DF #B8B1EB

Accessibility & contrast

On white

5.94
#5E4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5E4FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FD3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FD3#FFFFFF#000000##FFFFFF
##5E4FD31.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#256F8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4fd3;
/* rgb */ color: rgb(94, 79, 211);
/* oklch */ color: oklch(52.0% 0.195 282.4);
Tailwind
colors: {
  custom: {
    50: '#9681e1',
    500: '#5e4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fd3;
$custom-light: #9681e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fd3",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 246.818,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.19481,
    "h": 282.4
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#5E4FD3
secondary
#D4DAA4
accent
#E345D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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