#5370B1#5370B1

#5370B1 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.2% C 0.107 H 264.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5370B1
RGBrgb(83, 112, 177)
HSLhsl(221, 38%, 51%)
HSVhsv(221, 53%, 69%)
CMYKcmyk(53.1%, 36.7%, 0%, 30.6%)
CIE-LABlab(47.75, 8.54, -37.81)
CIE-LCHlch(47.75, 38.76, 282.72°)
OKLaboklab(55.24% -0.0095 -0.1068)
OKLCHoklch(55.24% 0.107 264.9)
XYZxyz(17.2946, 16.6004, 43.8793)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370B1 #B19453
analogous
#539FB1 #5370B1 #6553B1
triadic
#5370B1 #B15370 #70B153
tetradic
#5370B1 #B1539F #B19453 #53B165
square
#5370B1 #B1539F #B19453 #53B165
split-complementary
#5370B1 #B16553 #9FB153
monochromatic
#2B3B5F #3E5589 #5370B1 #7D93C4 #A7B6D7

Accessibility & contrast

On white

4.86
#5370B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5370B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5370B1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370B1#FFFFFF#000000##FFFFFF
##5370B11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5676B4
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#247E88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5370b1;
/* rgb */ color: rgb(83, 112, 177);
/* oklch */ color: oklch(55.2% 0.107 264.9);
Tailwind
colors: {
  custom: {
    50: '#8998c8',
    500: '#5370b1',
    950: '#000000',
  },
}
SCSS
$custom: #5370b1;
$custom-light: #8998c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5370b1",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 177
  },
  "hsl": {
    "h": 221.489,
    "s": 37.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.10725,
    "h": 264.9
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#5370B1
secondary
#C5B89B
accent
#AA5ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #5370B1

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

Preview Lab → · Contrast checker → · Palette generator →

#5370B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva