#5E53D9#5E53D9

#5E53D9 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.1% C 0.198 H 281.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5E53D9
RGBrgb(94, 83, 217)
HSLhsl(245, 64%, 59%)
HSVhsv(245, 62%, 85%)
CMYKcmyk(56.7%, 61.8%, 0%, 14.9%)
CIE-LABlab(43.62, 41.56, -67.48)
CIE-LCHlch(43.62, 79.25, 301.63°)
OKLaboklab(53.12% 0.0376 -0.1939)
OKLCHoklch(53.12% 0.198 281)
XYZxyz(20.2298, 13.5746, 67.1863)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E53D9 #CED953
analogous
#538BD9 #5E53D9 #A153D9
triadic
#5E53D9 #D95E53 #53D95E
tetradic
#5E53D9 #D9538B #CED953 #53D9A1
square
#5E53D9 #D9538B #CED953 #53D9A1
split-complementary
#5E53D9 #D9A153 #8BD953
monochromatic
#292091 #382BC4 #5E53D9 #8D85E4 #BCB7EF

Accessibility & contrast

On white

5.65
#5E53D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5E53D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E53D9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E53D9#FFFFFF#000000##FFFFFF
##5E53D91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#19748E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e53d9;
/* rgb */ color: rgb(94, 83, 217);
/* oklch */ color: oklch(53.1% 0.198 281.0);
Tailwind
colors: {
  custom: {
    50: '#9784e6',
    500: '#5e53d9',
    950: '#000000',
  },
}
SCSS
$custom: #5e53d9;
$custom-light: #9784e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e53d9",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 217
  },
  "hsl": {
    "h": 244.925,
    "s": 63.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.19753,
    "h": 281
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#5E53D9
secondary
#DADEAA
accent
#E741D9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E53D9

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

Preview Lab → · Contrast checker → · Palette generator →

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