#5F53CF#5F53CF

#5F53CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.184 H 282.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5F53CF
RGBrgb(95, 83, 207)
HSLhsl(246, 56%, 57%)
HSVhsv(246, 60%, 81%)
CMYKcmyk(54.1%, 59.9%, 0%, 18.8%)
CIE-LABlab(42.95, 38.63, -62.83)
CIE-LCHlch(42.95, 73.76, 301.59°)
OKLaboklab(52.42% 0.0394 -0.1802)
OKLCHoklch(52.42% 0.184 282.3)
XYZxyz(19.0716, 13.1233, 60.5475)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53CF #C3CF53
analogous
#5385CF #5F53CF #9D53CF
triadic
#5F53CF #CF5F53 #53CF5F
tetradic
#5F53CF #CF5385 #C3CF53 #53CF9D
square
#5F53CF #CF5385 #C3CF53 #53CF9D
split-complementary
#5F53CF #CF9D53 #85CF53
monochromatic
#2E2583 #3E32B3 #5F53CF #8C83DC #B8B3EA

Accessibility & contrast

On white

5.79
#5F53CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F53CF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53CF#FFFFFF#000000##FFFFFF
##5F53CF1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#2C7189
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f53cf;
/* rgb */ color: rgb(95, 83, 207);
/* oklch */ color: oklch(52.4% 0.184 282.3);
Tailwind
colors: {
  custom: {
    50: '#9684df',
    500: '#5f53cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f53cf;
$custom-light: #9684df;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53cf",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 207
  },
  "hsl": {
    "h": 245.806,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.18446,
    "h": 282.3
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#5F53CF
secondary
#D3D8A6
accent
#E048D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F53CF

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

Preview Lab → · Contrast checker → · Palette generator →

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