#5F53BF#5F53BF

#5F53BF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.163 H 284.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5F53BF
RGBrgb(95, 83, 191)
HSLhsl(247, 46%, 54%)
HSVhsv(247, 57%, 75%)
CMYKcmyk(50.3%, 56.5%, 0%, 25.1%)
CIE-LABlab(41.81, 33.69, -55.40)
CIE-LCHlch(41.81, 64.84, 301.30°)
OKLaboklab(51.22% 0.0397 -0.1583)
OKLCHoklch(51.22% 0.163 284.1)
XYZxyz(17.2137, 12.3801, 50.7627)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53BF #B3BF53
analogous
#537DBF #5F53BF #9553BF
triadic
#5F53BF #BF5F53 #53BF5F
tetradic
#5F53BF #BF537D #B3BF53 #53BF95
square
#5F53BF #BF537D #B3BF53 #53BF95
split-complementary
#5F53BF #BF9553 #7DBF53
monochromatic
#31296E #453A9B #5F53BF #8880D0 #B2ACE0

Accessibility & contrast

On white

6.04
#5F53BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5F53BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53BF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53BF#FFFFFF#000000##FFFFFF
##5F53BF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0666C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#3B6B81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f53bf;
/* rgb */ color: rgb(95, 83, 191);
/* oklch */ color: oklch(51.2% 0.163 284.1);
Tailwind
colors: {
  custom: {
    50: '#9384d3',
    500: '#5f53bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f53bf;
$custom-light: #9384d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53bf",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 191
  },
  "hsl": {
    "h": 246.667,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.16325,
    "h": 284.1
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#5F53BF
secondary
#C9CEA0
accent
#D552C7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5F53BF

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

Preview Lab → · Contrast checker → · Palette generator →

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