#5F53D2#5F53D2

#5F53D2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.188 H 282.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5F53D2
RGBrgb(95, 83, 210)
HSLhsl(246, 59%, 57%)
HSVhsv(246, 60%, 82%)
CMYKcmyk(54.8%, 60.5%, 0%, 17.6%)
CIE-LABlab(43.17, 39.56, -64.20)
CIE-LCHlch(43.17, 75.41, 301.64°)
OKLaboklab(52.65% 0.0393 -0.1842)
OKLCHoklch(52.65% 0.188 282)
XYZxyz(19.4418, 13.2714, 62.4974)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53D2 #C6D253
analogous
#5387D2 #5F53D2 #9E53D2
triadic
#5F53D2 #D25F53 #53D25F
tetradic
#5F53D2 #D25387 #C6D253 #53D29E
square
#5F53D2 #D25387 #C6D253 #53D29E
split-complementary
#5F53D2 #D29E53 #87D253
monochromatic
#2D2387 #3D30B8 #5F53D2 #8C84DF #B9B4EB

Accessibility & contrast

On white

5.75
#5F53D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5F53D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53D2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53D2#FFFFFF#000000##FFFFFF
##5F53D21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#29718B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f53d2;
/* rgb */ color: rgb(95, 83, 210);
/* oklch */ color: oklch(52.6% 0.188 282.0);
Tailwind
colors: {
  custom: {
    50: '#9684e1',
    500: '#5f53d2',
    950: '#000000',
  },
}
SCSS
$custom: #5f53d2;
$custom-light: #9684e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53d2",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 210
  },
  "hsl": {
    "h": 245.669,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.18836,
    "h": 282
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#5F53D2
secondary
#D5DAA7
accent
#E246D3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F53D2

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

Preview Lab → · Contrast checker → · Palette generator →

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