#5F53C8#5F53C8

#5F53C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.175 H 283.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5F53C8
RGBrgb(95, 83, 200)
HSLhsl(246, 52%, 55%)
HSVhsv(246, 59%, 78%)
CMYKcmyk(52.5%, 58.5%, 0%, 21.6%)
CIE-LABlab(42.44, 36.47, -59.61)
CIE-LCHlch(42.44, 69.88, 301.46°)
OKLaboklab(51.88% 0.0396 -0.1707)
OKLCHoklch(51.88% 0.175 283.1)
XYZxyz(18.2347, 12.7885, 56.1400)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53C8 #BCC853
analogous
#5381C8 #5F53C8 #9953C8
triadic
#5F53C8 #C85F53 #53C85F
tetradic
#5F53C8 #C85381 #BCC853 #53C899
square
#5F53C8 #C85381 #BCC853 #53C899
split-complementary
#5F53C8 #C89953 #81C853
monochromatic
#2F277A #4136A8 #5F53C8 #8A81D7 #B5B0E6

Accessibility & contrast

On white

5.90
#5F53C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5F53C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53C8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53C8#FFFFFF#000000##FFFFFF
##5F53C81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#346E85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f53c8;
/* rgb */ color: rgb(95, 83, 200);
/* oklch */ color: oklch(51.9% 0.175 283.1);
Tailwind
colors: {
  custom: {
    50: '#9584d9',
    500: '#5f53c8',
    950: '#000000',
  },
}
SCSS
$custom: #5f53c8;
$custom-light: #9584d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53c8",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 200
  },
  "hsl": {
    "h": 246.154,
    "s": 51.542,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.17527,
    "h": 283.1
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#5F53C8
secondary
#CFD4A3
accent
#DB4DCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F53C8

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

Preview Lab → · Contrast checker → · Palette generator →

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