#5F53E3#5F53E3

#5F53E3 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.210 H 280.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5F53E3
RGBrgb(95, 83, 227)
HSLhsl(245, 72%, 61%)
HSVhsv(245, 63%, 89%)
CMYKcmyk(58.1%, 63.4%, 0%, 11%)
CIE-LABlab(44.47, 44.83, -71.79)
CIE-LCHlch(44.47, 84.64, 301.99°)
OKLaboklab(54% 0.0381 -0.2065)
OKLCHoklch(54% 0.21 280.5)
XYZxyz(21.6733, 14.1640, 74.2500)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53E3 #D7E353
analogous
#538FE3 #5F53E3 #A753E3
triadic
#5F53E3 #E35F53 #53E35F
tetradic
#5F53E3 #E3538F #D7E353 #53E3A7
square
#5F53E3 #E3538F #D7E353 #53E3A7
split-complementary
#5F53E3 #E3A753 #8FE353
monochromatic
#261AA1 #3223D6 #5F53E3 #9088EC #C1BCF4

Accessibility & contrast

On white

5.48
#5F53E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5F53E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53E3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53E3#FFFFFF#000000##FFFFFF
##5F53E31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f53e3;
/* rgb */ color: rgb(95, 83, 227);
/* oklch */ color: oklch(54.0% 0.210 280.5);
Tailwind
colors: {
  custom: {
    50: '#9984ed',
    500: '#5f53e3',
    950: '#000000',
  },
}
SCSS
$custom: #5f53e3;
$custom-light: #9984ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53e3",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 227
  },
  "hsl": {
    "h": 245,
    "s": 72,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.21001,
    "h": 280.5
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#5F53E3
secondary
#E0E4AE
accent
#D411C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F53E3

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

Preview Lab → · Contrast checker → · Palette generator →

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