#5351CD#5351CD

#5351CD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.186 H 278.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5351CD
RGBrgb(83, 81, 205)
HSLhsl(241, 55%, 56%)
HSVhsv(241, 60%, 80%)
CMYKcmyk(59.5%, 60.5%, 0%, 19.6%)
CIE-LABlab(41.42, 37.08, -64.20)
CIE-LCHlch(41.42, 74.14, 300.01°)
OKLaboklab(51.02% 0.0266 -0.1846)
OKLCHoklch(51.02% 0.186 278.2)
XYZxyz(17.5256, 12.1303, 59.1636)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351CD #CBCD51
analogous
#518DCD #5351CD #9151CD
triadic
#5351CD #CD5351 #51CD53
tetradic
#5351CD #CD518D #CBCD51 #51CD91
square
#5351CD #CD518D #CBCD51 #51CD91
split-complementary
#5351CD #CD9151 #8DCD51
monochromatic
#26257F #3432AF #5351CD #8281DB #B1B0E8

Accessibility & contrast

On white

6.13
#5351CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5351CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351CD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351CD#FFFFFF#000000##FFFFFF
##5351CD1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5351cd;
/* rgb */ color: rgb(83, 81, 205);
/* oklch */ color: oklch(51.0% 0.186 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f82dd',
    500: '#5351cd',
    950: '#000000',
  },
}
SCSS
$custom: #5351cd;
$custom-light: #8f82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5351cd",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 240.968,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.18649,
    "h": 278.2
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#5351CD
secondary
#D6D7A3
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5351CD

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

Preview Lab → · Contrast checker → · Palette generator →

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