#5F53E8#5F53E8

#5F53E8 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.216 H 280.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5F53E8
RGBrgb(95, 83, 232)
HSLhsl(245, 76%, 62%)
HSVhsv(245, 64%, 91%)
CMYKcmyk(59.1%, 64.2%, 0%, 9%)
CIE-LABlab(44.86, 46.38, -73.97)
CIE-LCHlch(44.86, 87.31, 302.09°)
OKLaboklab(54.41% 0.0377 -0.2129)
OKLCHoklch(54.41% 0.216 280)
XYZxyz(22.3735, 14.4440, 77.9373)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53E8 #DCE853
analogous
#5392E8 #5F53E8 #AA53E8
triadic
#5F53E8 #E85F53 #53E85F
tetradic
#5F53E8 #E85392 #DCE853 #53E8AA
square
#5F53E8 #E85392 #DCE853 #53E8AA
split-complementary
#5F53E8 #E8AA53 #92E853
monochromatic
#2317AA #2E1EE0 #5F53E8 #9189EF #C3BFF6

Accessibility & contrast

On white

5.40
#5F53E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5F53E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53E8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53E8#FFFFFF#000000##FFFFFF
##5F53E81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f53e8;
/* rgb */ color: rgb(95, 83, 232);
/* oklch */ color: oklch(54.4% 0.216 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a84f0',
    500: '#5f53e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f53e8;
$custom-light: #9a84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53e8",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 232
  },
  "hsl": {
    "h": 244.832,
    "s": 76.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.21623,
    "h": 280
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#5F53E8
secondary
#E3E7B0
accent
#D90DC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F53E8

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

Preview Lab → · Contrast checker → · Palette generator →

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