#5371CF#5371CF

#5371CF is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.3% C 0.149 H 268.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5371CF
RGBrgb(83, 113, 207)
HSLhsl(225, 56%, 57%)
HSVhsv(225, 60%, 81%)
CMYKcmyk(59.9%, 45.4%, 0%, 18.8%)
CIE-LABlab(49.68, 17.87, -52.02)
CIE-LCHlch(49.68, 55.00, 288.96°)
OKLaboklab(57.26% -0.0048 -0.1484)
OKLCHoklch(57.26% 0.149 268.2)
XYZxyz(20.7311, 18.1525, 61.4307)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371CF #CFB153
analogous
#53AFCF #5371CF #7353CF
triadic
#5371CF #CF5371 #71CF53
tetradic
#5371CF #CF53AF #CFB153 #53CF73
square
#5371CF #CF53AF #CFB153 #53CF73
split-complementary
#5371CF #CF7353 #AFCF53
monochromatic
#253B83 #3251B3 #5371CF #8399DC #B3C0EA

Accessibility & contrast

On white

4.53
#5371CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5371CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371CF#FFFFFF#000000##000000
##5371CF1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#3271CD
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5371cf;
/* rgb */ color: rgb(83, 113, 207);
/* oklch */ color: oklch(57.3% 0.149 268.2);
Tailwind
colors: {
  custom: {
    50: '#8e99de',
    500: '#5371cf',
    950: '#000000',
  },
}
SCSS
$custom: #5371cf;
$custom-light: #8e99de;
$custom-dark: #000000;
JSON
{
  "hex": "#5371cf",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 225.484,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.14851,
    "h": 268.2
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#5371CF
secondary
#D8CCA6
accent
#BB48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5371CF

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

Preview Lab → · Contrast checker → · Palette generator →

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