#5F53DD#5F53DD

#5F53DD is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.202 H 281.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F53DD
RGBrgb(95, 83, 221)
HSLhsl(245, 67%, 60%)
HSVhsv(245, 62%, 87%)
CMYKcmyk(57%, 62.4%, 0%, 13.3%)
CIE-LABlab(44.00, 42.97, -69.14)
CIE-LCHlch(44.00, 81.40, 301.86°)
OKLaboklab(53.52% 0.0386 -0.1987)
OKLCHoklch(53.52% 0.202 281)
XYZxyz(20.8596, 13.8385, 69.9645)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53DD #D1DD53
analogous
#538CDD #5F53DD #A453DD
triadic
#5F53DD #DD5F53 #53DD5F
tetradic
#5F53DD #DD538C #D1DD53 #53DDA4
square
#5F53DD #DD538C #D1DD53 #53DDA4
split-complementary
#5F53DD #DDA453 #8CDD53
monochromatic
#291E98 #3628CB #5F53DD #8F86E7 #BEB9F1

Accessibility & contrast

On white

5.57
#5F53DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5F53DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53DD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53DD#FFFFFF#000000##FFFFFF
##5F53DD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#167590
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f53dd;
/* rgb */ color: rgb(95, 83, 221);
/* oklch */ color: oklch(53.5% 0.202 281.0);
Tailwind
colors: {
  custom: {
    50: '#9884e9',
    500: '#5f53dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f53dd;
$custom-light: #9884e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53dd",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 221
  },
  "hsl": {
    "h": 245.217,
    "s": 66.99,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.20246,
    "h": 281
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#5F53DD
secondary
#DCE1AB
accent
#EA3EDB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F53DD

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

Preview Lab → · Contrast checker → · Palette generator →

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