#5F53EF#5F53EF

#5F53EF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.0% C 0.225 H 279.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5F53EF
RGBrgb(95, 83, 239)
HSLhsl(245, 83%, 63%)
HSVhsv(245, 65%, 94%)
CMYKcmyk(60.3%, 65.3%, 0%, 6.3%)
CIE-LABlab(45.43, 48.54, -76.99)
CIE-LCHlch(45.43, 91.02, 302.23°)
OKLaboklab(55% 0.0369 -0.2218)
OKLCHoklch(55% 0.225 279.5)
XYZxyz(23.3876, 14.8497, 83.2784)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53EF #E3EF53
analogous
#5395EF #5F53EF #AD53EF
triadic
#5F53EF #EF5F53 #53EF5F
tetradic
#5F53EF #EF5395 #E3EF53 #53EFAD
square
#5F53EF #EF5395 #E3EF53 #53EFAD
split-complementary
#5F53EF #EFAD53 #95EF53
monochromatic
#1E11B7 #2B1BEA #5F53EF #938BF4 #C7C3F9

Accessibility & contrast

On white

5.29
#5F53EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5F53EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53EF#FFFFFF#000000##FFFFFF
##5F53EF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007B9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f53ef;
/* rgb */ color: rgb(95, 83, 239);
/* oklch */ color: oklch(55.0% 0.225 279.5);
Tailwind
colors: {
  custom: {
    50: '#9b84f5',
    500: '#5f53ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f53ef;
$custom-light: #9b84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53ef",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 239
  },
  "hsl": {
    "h": 244.615,
    "s": 82.979,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.22485,
    "h": 279.5
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#5F53EF
secondary
#E7EBB3
accent
#DF06CF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F53EF

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

Preview Lab → · Contrast checker → · Palette generator →

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