#5371CB#5371CB

#5371CB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.143 H 267.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5371CB
RGBrgb(83, 113, 203)
HSLhsl(225, 54%, 56%)
HSVhsv(225, 59%, 80%)
CMYKcmyk(59.1%, 44.3%, 0%, 20.4%)
CIE-LABlab(49.45, 16.52, -50.11)
CIE-LCHlch(49.45, 52.76, 288.25°)
OKLaboklab(57.01% -0.0054 -0.1428)
OKLCHoklch(57.01% 0.143 267.8)
XYZxyz(20.2483, 17.9594, 58.8878)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371CB #CBAD53
analogous
#53ADCB #5371CB #7153CB
triadic
#5371CB #CB5371 #71CB53
tetradic
#5371CB #CB53AD #CBAD53 #53CB71
square
#5371CB #CB53AD #CBAD53 #53CB71
split-complementary
#5371CB #CB7153 #ADCB53
monochromatic
#263C7E #3452AD #5371CB #8298D9 #B1BFE7

Accessibility & contrast

On white

4.57
#5371CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5371CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371CB#FFFFFF#000000##000000
##5371CB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#3771C9
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5371cb;
/* rgb */ color: rgb(83, 113, 203);
/* oklch */ color: oklch(57.0% 0.143 267.8);
Tailwind
colors: {
  custom: {
    50: '#8d99db',
    500: '#5371cb',
    950: '#000000',
  },
}
SCSS
$custom: #5371cb;
$custom-light: #8d99db;
$custom-dark: #000000;
JSON
{
  "hex": "#5371cb",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 225,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.14292,
    "h": 267.8
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#5371CB
secondary
#D6C9A4
accent
#B84BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5371CB

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

Preview Lab → · Contrast checker → · Palette generator →

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