#5F53DB#5F53DB

#5F53DB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.4% C 0.200 H 281.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5F53DB
RGBrgb(95, 83, 219)
HSLhsl(245, 65%, 59%)
HSVhsv(245, 62%, 86%)
CMYKcmyk(56.6%, 62.1%, 0%, 14.1%)
CIE-LABlab(43.85, 42.35, -68.25)
CIE-LCHlch(43.85, 80.32, 301.82°)
OKLaboklab(53.36% 0.0388 -0.1961)
OKLCHoklch(53.36% 0.2 281.2)
XYZxyz(20.5948, 13.7325, 68.5695)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53DB #CFDB53
analogous
#538BDB #5F53DB #A353DB
triadic
#5F53DB #DB5F53 #53DB5F
tetradic
#5F53DB #DB538B #CFDB53 #53DBA3
square
#5F53DB #DB538B #CFDB53 #53DBA3
split-complementary
#5F53DB #DBA353 #8BDB53
monochromatic
#291F95 #382AC7 #5F53DB #8E86E6 #BDB8F0

Accessibility & contrast

On white

5.60
#5F53DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5F53DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53DB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53DB#FFFFFF#000000##FFFFFF
##5F53DB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#1A748F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f53db;
/* rgb */ color: rgb(95, 83, 219);
/* oklch */ color: oklch(53.4% 0.200 281.2);
Tailwind
colors: {
  custom: {
    50: '#9884e7',
    500: '#5f53db',
    950: '#000000',
  },
}
SCSS
$custom: #5f53db;
$custom-light: #9884e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53db",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 219
  },
  "hsl": {
    "h": 245.294,
    "s": 65.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.19991,
    "h": 281.2
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#5F53DB
secondary
#DBDFAA
accent
#E83FD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F53DB

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

Preview Lab → · Contrast checker → · Palette generator →

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