#5351BF#5351BF

#5351BF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.168 H 279.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5351BF
RGBrgb(83, 81, 191)
HSLhsl(241, 46%, 53%)
HSVhsv(241, 58%, 75%)
CMYKcmyk(56.5%, 57.6%, 0%, 25.1%)
CIE-LABlab(40.38, 32.53, -57.76)
CIE-LCHlch(40.38, 66.29, 299.38°)
OKLaboklab(49.92% 0.0269 -0.1656)
OKLCHoklch(49.92% 0.168 279.2)
XYZxyz(15.9107, 11.4844, 50.6584)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351BF #BDBF51
analogous
#5186BF #5351BF #8A51BF
triadic
#5351BF #BF5351 #51BF53
tetradic
#5351BF #BF5186 #BDBF51 #51BF8A
square
#5351BF #BF5186 #BDBF51 #51BF8A
split-complementary
#5351BF #BF8A51 #86BF51
monochromatic
#29286D #3A399A #5351BF #7F7ECF #ABAAE0

Accessibility & contrast

On white

6.37
#5351BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5351BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351BF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351BF#FFFFFF#000000##FFFFFF
##5351BF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#186B80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5351bf;
/* rgb */ color: rgb(83, 81, 191);
/* oklch */ color: oklch(49.9% 0.168 279.2);
Tailwind
colors: {
  custom: {
    50: '#8d82d3',
    500: '#5351bf',
    950: '#000000',
  },
}
SCSS
$custom: #5351bf;
$custom-light: #8d82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5351bf",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 241.091,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.16781,
    "h": 279.2
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#5351BF
secondary
#CDCE9E
accent
#D652D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5351BF

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

Preview Lab → · Contrast checker → · Palette generator →

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