#5F53CE#5F53CE

#5F53CE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.183 H 282.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5F53CE
RGBrgb(95, 83, 206)
HSLhsl(246, 56%, 57%)
HSVhsv(246, 60%, 81%)
CMYKcmyk(53.9%, 59.7%, 0%, 19.2%)
CIE-LABlab(42.88, 38.32, -62.37)
CIE-LCHlch(42.88, 73.21, 301.57°)
OKLaboklab(52.34% 0.0395 -0.1789)
OKLCHoklch(52.34% 0.183 282.4)
XYZxyz(18.9497, 13.0745, 59.9057)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53CE #C2CE53
analogous
#5385CE #5F53CE #9D53CE
triadic
#5F53CE #CE5F53 #53CE5F
tetradic
#5F53CE #CE5385 #C2CE53 #53CE9D
square
#5F53CE #CE5385 #C2CE53 #53CE9D
split-complementary
#5F53CE #CE9D53 #85CE53
monochromatic
#2E2582 #3F33B1 #5F53CE #8B83DC #B8B2E9

Accessibility & contrast

On white

5.81
#5F53CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5F53CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53CE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53CE#FFFFFF#000000##FFFFFF
##5F53CE1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#2D7088
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f53ce;
/* rgb */ color: rgb(95, 83, 206);
/* oklch */ color: oklch(52.3% 0.183 282.4);
Tailwind
colors: {
  custom: {
    50: '#9684de',
    500: '#5f53ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f53ce;
$custom-light: #9684de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53ce",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 206
  },
  "hsl": {
    "h": 245.854,
    "s": 55.656,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.18316,
    "h": 282.4
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#5F53CE
secondary
#D3D8A5
accent
#DF49D0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F53CE

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

Preview Lab → · Contrast checker → · Palette generator →

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