#5F53CB#5F53CB

#5F53CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.179 H 282.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5F53CB
RGBrgb(95, 83, 203)
HSLhsl(246, 54%, 56%)
HSVhsv(246, 59%, 80%)
CMYKcmyk(53.2%, 59.1%, 0%, 20.4%)
CIE-LABlab(42.66, 37.39, -61.00)
CIE-LCHlch(42.66, 71.55, 301.51°)
OKLaboklab(52.11% 0.0396 -0.1748)
OKLCHoklch(52.11% 0.179 282.8)
XYZxyz(18.5888, 12.9301, 58.0046)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53CB #BFCB53
analogous
#5383CB #5F53CB #9B53CB
triadic
#5F53CB #CB5F53 #53CB5F
tetradic
#5F53CB #CB5383 #BFCB53 #53CB9B
square
#5F53CB #CB5383 #BFCB53 #53CB9B
split-complementary
#5F53CB #CB9B53 #83CB53
monochromatic
#2F267E #4034AD #5F53CB #8B82D9 #B6B1E7

Accessibility & contrast

On white

5.86
#5F53CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5F53CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53CB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53CB#FFFFFF#000000##FFFFFF
##5F53CB1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#316F87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f53cb;
/* rgb */ color: rgb(95, 83, 203);
/* oklch */ color: oklch(52.1% 0.179 282.8);
Tailwind
colors: {
  custom: {
    50: '#9584dc',
    500: '#5f53cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f53cb;
$custom-light: #9584dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53cb",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 246,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5211,
    "c": 0.17923,
    "h": 282.8
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

primary
#5F53CB
secondary
#D1D6A4
accent
#DD4BCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F53CB

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

Preview Lab → · Contrast checker → · Palette generator →

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