#5F53BE#5F53BE

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

Color values

HEX#5F53BE
RGBrgb(95, 83, 190)
HSLhsl(247, 45%, 54%)
HSVhsv(247, 56%, 75%)
CMYKcmyk(50%, 56.3%, 0%, 25.5%)
CIE-LABlab(41.75, 33.38, -54.93)
CIE-LCHlch(41.75, 64.28, 301.29°)
OKLaboklab(51.15% 0.0397 -0.157)
OKLCHoklch(51.15% 0.162 284.2)
XYZxyz(17.1041, 12.3362, 50.1851)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53BE #B2BE53
analogous
#537CBE #5F53BE #9453BE
triadic
#5F53BE #BE5F53 #53BE5F
tetradic
#5F53BE #BE537C #B2BE53 #53BE94
square
#5F53BE #BE537C #B2BE53 #53BE94
split-complementary
#5F53BE #BE9453 #7CBE53
monochromatic
#31296D #453A9A #5F53BE #887FCF #B2ACE0

Accessibility & contrast

On white

6.06
#5F53BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5F53BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53BE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53BE#FFFFFF#000000##FFFFFF
##5F53BE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#3C6B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f53be;
/* rgb */ color: rgb(95, 83, 190);
/* oklch */ color: oklch(51.1% 0.162 284.2);
Tailwind
colors: {
  custom: {
    50: '#9384d2',
    500: '#5f53be',
    950: '#000000',
  },
}
SCSS
$custom: #5f53be;
$custom-light: #9384d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53be",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 190
  },
  "hsl": {
    "h": 246.729,
    "s": 45.148,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.1619,
    "h": 284.2
  },
  "luminance": 0.12337
}

Semantic roles & 50–950 ramp

primary
#5F53BE
secondary
#C8CD9F
accent
#D553C6
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5F53BE

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

Preview Lab → · Contrast checker → · Palette generator →

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