#5351AC#5351AC

#5351AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.141 H 280.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5351AC
RGBrgb(83, 81, 172)
HSLhsl(241, 36%, 50%)
HSVhsv(241, 53%, 67%)
CMYKcmyk(51.7%, 52.9%, 0%, 32.5%)
CIE-LABlab(39.07, 26.38, -48.70)
CIE-LCHlch(39.07, 55.39, 298.44°)
OKLaboklab(48.53% 0.0263 -0.139)
OKLCHoklch(48.53% 0.141 280.7)
XYZxyz(13.9538, 10.7016, 40.3521)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351AC #AAAC51
analogous
#517CAC #5351AC #8151AC
triadic
#5351AC #AC5351 #51AC53
tetradic
#5351AC #AC517C #AAAC51 #51AC81
square
#5351AC #AC517C #AAAC51 #51AC81
split-complementary
#5351AC #AC8151 #7CAC51
monochromatic
#2B2A59 #3F3D82 #5351AC #7B7AC0 #A5A3D4

Accessibility & contrast

On white

6.69
#5351AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5351AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351AC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351AC#FFFFFF#000000##FFFFFF
##5351AC1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#1759AA
Tritanopia (blue-blind)
#2F6576
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5351ac;
/* rgb */ color: rgb(83, 81, 172);
/* oklch */ color: oklch(48.5% 0.141 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a82c5',
    500: '#5351ac',
    950: '#000000',
  },
}
SCSS
$custom: #5351ac;
$custom-light: #8a82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5351ac",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 241.319,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.14148,
    "h": 280.7
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#5351AC
secondary
#C0C198
accent
#CC5CCA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5351AC

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

Preview Lab → · Contrast checker → · Palette generator →

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