#5F53CC#5F53CC

#5F53CC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.181 H 282.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5F53CC
RGBrgb(95, 83, 204)
HSLhsl(246, 54%, 56%)
HSVhsv(246, 59%, 80%)
CMYKcmyk(53.4%, 59.3%, 0%, 20%)
CIE-LABlab(42.73, 37.70, -61.46)
CIE-LCHlch(42.73, 72.10, 301.53°)
OKLaboklab(52.19% 0.0395 -0.1762)
OKLCHoklch(52.19% 0.181 282.6)
XYZxyz(18.7083, 12.9780, 58.6342)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53CC #C0CC53
analogous
#5384CC #5F53CC #9C53CC
triadic
#5F53CC #CC5F53 #53CC5F
tetradic
#5F53CC #CC5384 #C0CC53 #53CC9C
square
#5F53CC #CC5384 #C0CC53 #53CC9C
split-complementary
#5F53CC #CC9C53 #84CC53
monochromatic
#2F267F #4034AE #5F53CC #8B82DA #B7B1E8

Accessibility & contrast

On white

5.84
#5F53CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5F53CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53CC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53CC#FFFFFF#000000##FFFFFF
##5F53CC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#307087
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f53cc;
/* rgb */ color: rgb(95, 83, 204);
/* oklch */ color: oklch(52.2% 0.181 282.6);
Tailwind
colors: {
  custom: {
    50: '#9584dc',
    500: '#5f53cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f53cc;
$custom-light: #9584dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53cc",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 245.95,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.18054,
    "h": 282.6
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#5F53CC
secondary
#D1D6A4
accent
#DE4ACF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F53CC

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

Preview Lab → · Contrast checker → · Palette generator →

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