#5371CD#5371CD

#5371CD is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.1% C 0.146 H 268.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5371CD
RGBrgb(83, 113, 205)
HSLhsl(225, 55%, 56%)
HSVhsv(225, 60%, 80%)
CMYKcmyk(59.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(49.56, 17.20, -51.07)
CIE-LCHlch(49.56, 53.88, 288.61°)
OKLaboklab(57.13% -0.0051 -0.1456)
OKLCHoklch(57.13% 0.146 268)
XYZxyz(20.4881, 18.0553, 60.1511)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371CD #CDAF53
analogous
#53AECD #5371CD #7253CD
triadic
#5371CD #CD5371 #71CD53
tetradic
#5371CD #CD53AE #CDAF53 #53CD72
square
#5371CD #CD53AE #CDAF53 #53CD72
split-complementary
#5371CD #CD7253 #AECD53
monochromatic
#253C80 #3352B0 #5371CD #8298DB #B2BFE9

Accessibility & contrast

On white

4.55
#5371CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5371CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371CD#FFFFFF#000000##000000
##5371CD1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD0
Deuteranopia (green-blind)
#3471CB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5371cd;
/* rgb */ color: rgb(83, 113, 205);
/* oklch */ color: oklch(57.1% 0.146 268.0);
Tailwind
colors: {
  custom: {
    50: '#8d99dd',
    500: '#5371cd',
    950: '#000000',
  },
}
SCSS
$custom: #5371cd;
$custom-light: #8d99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5371cd",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 225.246,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57134,
    "c": 0.14572,
    "h": 268
  },
  "luminance": 0.18057
}

Semantic roles & 50–950 ramp

primary
#5371CD
secondary
#D7CBA5
accent
#BA4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5371CD

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

Preview Lab → · Contrast checker → · Palette generator →

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