#5370AB#5370AB

#5370AB is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.9% C 0.099 H 263.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5370AB
RGBrgb(83, 112, 171)
HSLhsl(220, 35%, 50%)
HSVhsv(220, 51%, 67%)
CMYKcmyk(51.5%, 34.5%, 0%, 32.9%)
CIE-LABlab(47.45, 6.60, -34.79)
CIE-LCHlch(47.45, 35.41, 280.75°)
OKLaboklab(54.91% -0.0111 -0.098)
OKLCHoklch(54.91% 0.099 263.6)
XYZxyz(16.7097, 16.3665, 40.7987)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370AB #AB8E53
analogous
#539CAB #5370AB #6253AB
triadic
#5370AB #AB5370 #70AB53
tetradic
#5370AB #AB539C #AB8E53 #53AB62
square
#5370AB #AB539C #AB8E53 #53AB62
split-complementary
#5370AB #AB6253 #9CAB53
monochromatic
#2B3A59 #3F5582 #5370AB #7C92BF #A5B4D3

Accessibility & contrast

On white

4.91
#5370AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5370AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5370AB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370AB#FFFFFF#000000##FFFFFF
##5370AB1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AD
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#2A7D85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5370ab;
/* rgb */ color: rgb(83, 112, 171);
/* oklch */ color: oklch(54.9% 0.099 263.6);
Tailwind
colors: {
  custom: {
    50: '#8998c4',
    500: '#5370ab',
    950: '#000000',
  },
}
SCSS
$custom: #5370ab;
$custom-light: #8998c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5370ab",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 220.227,
    "s": 34.646,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.09864,
    "h": 263.6
  },
  "luminance": 0.16368
}

Semantic roles & 50–950 ramp

primary
#5370AB
secondary
#C1B499
accent
#A75DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #5370AB

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

Preview Lab → · Contrast checker → · Palette generator →

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