#5F53CD#5F53CD

#5F53CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.182 H 282.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5F53CD
RGBrgb(95, 83, 205)
HSLhsl(246, 55%, 56%)
HSVhsv(246, 60%, 80%)
CMYKcmyk(53.7%, 59.5%, 0%, 19.6%)
CIE-LABlab(42.80, 38.01, -61.92)
CIE-LCHlch(42.80, 72.65, 301.55°)
OKLaboklab(52.26% 0.0395 -0.1775)
OKLCHoklch(52.26% 0.182 282.5)
XYZxyz(18.8286, 13.0261, 59.2679)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53CD #C1CD53
analogous
#5384CD #5F53CD #9C53CD
triadic
#5F53CD #CD5F53 #53CD5F
tetradic
#5F53CD #CD5384 #C1CD53 #53CD9C
square
#5F53CD #CD5384 #C1CD53 #53CD9C
split-complementary
#5F53CD #CD9C53 #84CD53
monochromatic
#2E2580 #3F33B0 #5F53CD #8B82DB #B7B2E9

Accessibility & contrast

On white

5.82
#5F53CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5F53CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53CD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53CD#FFFFFF#000000##FFFFFF
##5F53CD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#2F7088
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f53cd;
/* rgb */ color: rgb(95, 83, 205);
/* oklch */ color: oklch(52.3% 0.182 282.5);
Tailwind
colors: {
  custom: {
    50: '#9584dd',
    500: '#5f53cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f53cd;
$custom-light: #9584dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53cd",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 205
  },
  "hsl": {
    "h": 245.902,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.18185,
    "h": 282.5
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#5F53CD
secondary
#D2D7A5
accent
#DE4AD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F53CD

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

Preview Lab → · Contrast checker → · Palette generator →

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