#5351CC#5351CC

#5351CC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.185 H 278.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5351CC
RGBrgb(83, 81, 204)
HSLhsl(241, 55%, 56%)
HSVhsv(241, 60%, 80%)
CMYKcmyk(59.3%, 60.3%, 0%, 20%)
CIE-LABlab(41.35, 36.75, -63.74)
CIE-LCHlch(41.35, 73.58, 299.96°)
OKLaboklab(50.94% 0.0267 -0.1832)
OKLCHoklch(50.94% 0.185 278.3)
XYZxyz(17.4053, 12.0822, 58.5299)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351CC #CACC51
analogous
#518CCC #5351CC #9051CC
triadic
#5351CC #CC5351 #51CC53
tetradic
#5351CC #CC518C #CACC51 #51CC90
square
#5351CC #CC518C #CACC51 #51CC90
split-complementary
#5351CC #CC9051 #8CCC51
monochromatic
#26257E #3533AD #5351CC #8280DA #B1B0E8

Accessibility & contrast

On white

6.15
#5351CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5351CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351CC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351CC#FFFFFF#000000##FFFFFF
##5351CC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5351cc;
/* rgb */ color: rgb(83, 81, 204);
/* oklch */ color: oklch(50.9% 0.185 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f82dc',
    500: '#5351cc',
    950: '#000000',
  },
}
SCSS
$custom: #5351cc;
$custom-light: #8f82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5351cc",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 240.976,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.18517,
    "h": 278.3
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

primary
#5351CC
secondary
#D5D6A3
accent
#DE4ADC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5351CC

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

Preview Lab → · Contrast checker → · Palette generator →

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