#5351CA#5351CA

#5351CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.183 H 278.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5351CA
RGBrgb(83, 81, 202)
HSLhsl(241, 53%, 55%)
HSVhsv(241, 60%, 79%)
CMYKcmyk(58.9%, 59.9%, 0%, 20.8%)
CIE-LABlab(41.20, 36.10, -62.83)
CIE-LCHlch(41.20, 72.47, 299.88°)
OKLaboklab(50.78% 0.0267 -0.1806)
OKLCHoklch(50.78% 0.183 278.4)
XYZxyz(17.1670, 11.9869, 57.2747)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351CA #C8CA51
analogous
#518BCA #5351CA #9051CA
triadic
#5351CA #CA5351 #51CA53
tetradic
#5351CA #CA518B #C8CA51 #51CA90
square
#5351CA #CA518B #C8CA51 #51CA90
split-complementary
#5351CA #CA9051 #8BCA51
monochromatic
#27257B #3634AA #5351CA #8180D8 #B0AFE7

Accessibility & contrast

On white

6.18
#5351CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5351CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351CA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351CA#FFFFFF#000000##FFFFFF
##5351CA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5351ca;
/* rgb */ color: rgb(83, 81, 202);
/* oklch */ color: oklch(50.8% 0.183 278.4);
Tailwind
colors: {
  custom: {
    50: '#8f82db',
    500: '#5351ca',
    950: '#000000',
  },
}
SCSS
$custom: #5351ca;
$custom-light: #8f82db;
$custom-dark: #000000;
JSON
{
  "hex": "#5351ca",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 240.992,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.18254,
    "h": 278.4
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#5351CA
secondary
#D4D5A2
accent
#DD4BDA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5351CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5351CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva