#5F53ED#5F53ED

#5F53ED is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.222 H 279.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5F53ED
RGBrgb(95, 83, 237)
HSLhsl(245, 81%, 63%)
HSVhsv(245, 65%, 93%)
CMYKcmyk(59.9%, 65%, 0%, 7.1%)
CIE-LABlab(45.27, 47.93, -76.13)
CIE-LCHlch(45.27, 89.96, 302.19°)
OKLaboklab(54.83% 0.0371 -0.2193)
OKLCHoklch(54.83% 0.222 279.6)
XYZxyz(23.0938, 14.7321, 81.7310)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53ED #E1ED53
analogous
#5394ED #5F53ED #AC53ED
triadic
#5F53ED #ED5F53 #53ED5F
tetradic
#5F53ED #ED5394 #E1ED53 #53EDAC
square
#5F53ED #ED5394 #E1ED53 #53EDAC
split-complementary
#5F53ED #EDAC53 #94ED53
monochromatic
#1F13B3 #2B1CE7 #5F53ED #938AF3 #C6C2F9

Accessibility & contrast

On white

5.32
#5F53ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5F53ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53ED
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53ED#FFFFFF#000000##FFFFFF
##5F53ED1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f53ed;
/* rgb */ color: rgb(95, 83, 237);
/* oklch */ color: oklch(54.8% 0.222 279.6);
Tailwind
colors: {
  custom: {
    50: '#9a84f4',
    500: '#5f53ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f53ed;
$custom-light: #9a84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53ed",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 237
  },
  "hsl": {
    "h": 244.675,
    "s": 81.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.2224,
    "h": 279.6
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#5F53ED
secondary
#E5EAB2
accent
#DD08CD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F53ED

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

Preview Lab → · Contrast checker → · Palette generator →

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