#5F53BD#5F53BD

#5F53BD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.161 H 284.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5F53BD
RGBrgb(95, 83, 189)
HSLhsl(247, 45%, 53%)
HSVhsv(247, 56%, 74%)
CMYKcmyk(49.7%, 56.1%, 0%, 25.9%)
CIE-LABlab(41.68, 33.08, -54.46)
CIE-LCHlch(41.68, 63.71, 301.27°)
OKLaboklab(51.08% 0.0397 -0.1556)
OKLCHoklch(51.08% 0.161 284.3)
XYZxyz(16.9951, 12.2927, 49.6115)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53BD #B1BD53
analogous
#537CBD #5F53BD #9453BD
triadic
#5F53BD #BD5F53 #53BD5F
tetradic
#5F53BD #BD537C #B1BD53 #53BD94
square
#5F53BD #BD537C #B1BD53 #53BD94
split-complementary
#5F53BD #BD9453 #7CBD53
monochromatic
#31296C #453A98 #5F53BD #887FCE #B1ABDF

Accessibility & contrast

On white

6.07
#5F53BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5F53BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53BD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53BD#FFFFFF#000000##FFFFFF
##5F53BD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C1
Deuteranopia (green-blind)
#025FBB
Tritanopia (blue-blind)
#3D6B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f53bd;
/* rgb */ color: rgb(95, 83, 189);
/* oklch */ color: oklch(51.1% 0.161 284.3);
Tailwind
colors: {
  custom: {
    50: '#9384d2',
    500: '#5f53bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f53bd;
$custom-light: #9384d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53bd",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 189
  },
  "hsl": {
    "h": 246.792,
    "s": 44.538,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.16055,
    "h": 284.3
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#5F53BD
secondary
#C8CD9F
accent
#D454C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5F53BD

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

Preview Lab → · Contrast checker → · Palette generator →

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