#5F53E9#5F53E9

#5F53E9 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.217 H 279.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5F53E9
RGBrgb(95, 83, 233)
HSLhsl(245, 77%, 62%)
HSVhsv(245, 64%, 91%)
CMYKcmyk(59.2%, 64.4%, 0%, 8.6%)
CIE-LABlab(44.94, 46.69, -74.40)
CIE-LCHlch(44.94, 87.84, 302.11°)
OKLaboklab(54.5% 0.0376 -0.2142)
OKLCHoklch(54.5% 0.217 279.9)
XYZxyz(22.5159, 14.5010, 78.6875)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53E9 #DDE953
analogous
#5392E9 #5F53E9 #AA53E9
triadic
#5F53E9 #E95F53 #53E95F
tetradic
#5F53E9 #E95392 #DDE953 #53E9AA
square
#5F53E9 #E95392 #DDE953 #53E9AA
split-complementary
#5F53E9 #E9AA53 #92E953
monochromatic
#2216AC #2D1DE2 #5F53E9 #9189F0 #C4C0F7

Accessibility & contrast

On white

5.38
#5F53E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5F53E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53E9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53E9#FFFFFF#000000##FFFFFF
##5F53E91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f53e9;
/* rgb */ color: rgb(95, 83, 233);
/* oklch */ color: oklch(54.5% 0.217 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a84f1',
    500: '#5f53e9',
    950: '#000000',
  },
}
SCSS
$custom: #5f53e9;
$custom-light: #9a84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53e9",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 233
  },
  "hsl": {
    "h": 244.8,
    "s": 77.32,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.21748,
    "h": 279.9
  },
  "luminance": 0.14503
}

Semantic roles & 50–950 ramp

primary
#5F53E9
secondary
#E3E8B0
accent
#DA0CC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F53E9

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

Preview Lab → · Contrast checker → · Palette generator →

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