#5F53CA#5F53CA

#5F53CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.178 H 282.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5F53CA
RGBrgb(95, 83, 202)
HSLhsl(246, 53%, 56%)
HSVhsv(246, 59%, 79%)
CMYKcmyk(53%, 58.9%, 0%, 20.8%)
CIE-LABlab(42.59, 37.08, -60.54)
CIE-LCHlch(42.59, 70.99, 301.49°)
OKLaboklab(52.03% 0.0396 -0.1734)
OKLCHoklch(52.03% 0.178 282.9)
XYZxyz(18.4700, 12.8826, 57.3790)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53CA #BECA53
analogous
#5382CA #5F53CA #9A53CA
triadic
#5F53CA #CA5F53 #53CA5F
tetradic
#5F53CA #CA5382 #BECA53 #53CA9A
square
#5F53CA #CA5382 #BECA53 #53CA9A
split-complementary
#5F53CA #CA9A53 #82CA53
monochromatic
#2F267C #4135AB #5F53CA #8B82D8 #B6B1E7

Accessibility & contrast

On white

5.87
#5F53CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5F53CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53CA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53CA#FFFFFF#000000##FFFFFF
##5F53CA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#326F86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f53ca;
/* rgb */ color: rgb(95, 83, 202);
/* oklch */ color: oklch(52.0% 0.178 282.9);
Tailwind
colors: {
  custom: {
    50: '#9584db',
    500: '#5f53ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f53ca;
$custom-light: #9584db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53ca",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 202
  },
  "hsl": {
    "h": 246.05,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.17791,
    "h": 282.9
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#5F53CA
secondary
#D0D5A4
accent
#DC4CCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F53CA

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

Preview Lab → · Contrast checker → · Palette generator →

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