#5378D1#5378D1

#5378D1 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.143 H 265.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5378D1
RGBrgb(83, 120, 209)
HSLhsl(222, 58%, 57%)
HSVhsv(222, 60%, 82%)
CMYKcmyk(60.3%, 42.6%, 0%, 18%)
CIE-LABlab(51.69, 14.22, -49.94)
CIE-LCHlch(51.69, 51.93, 285.90°)
OKLaboklab(58.84% -0.0117 -0.1422)
OKLCHoklch(58.84% 0.143 265.3)
XYZxyz(21.7884, 19.8735, 62.9970)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5378D1 #D1AC53
analogous
#53B7D1 #5378D1 #6D53D1
triadic
#5378D1 #D15378 #78D153
tetradic
#5378D1 #D153B7 #D1AC53 #53D16D
square
#5378D1 #D153B7 #D1AC53 #53D16D
split-complementary
#5378D1 #D16D53 #B7D153
monochromatic
#244186 #3158B6 #5378D1 #839EDE #B4C4EB

Accessibility & contrast

On white

4.22
#5378D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5378D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5378D1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5378D1#FFFFFF#000000##000000
##5378D11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D4
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5378d1;
/* rgb */ color: rgb(83, 120, 209);
/* oklch */ color: oklch(58.8% 0.143 265.3);
Tailwind
colors: {
  custom: {
    50: '#8e9edf',
    500: '#5378d1',
    950: '#000000',
  },
}
SCSS
$custom: #5378d1;
$custom-light: #8e9edf;
$custom-dark: #000000;
JSON
{
  "hex": "#5378d1",
  "rgb": {
    "r": 83,
    "g": 120,
    "b": 209
  },
  "hsl": {
    "h": 222.381,
    "s": 57.798,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.14272,
    "h": 265.3
  },
  "luminance": 0.19875
}

Semantic roles & 50–950 ramp

primary
#5378D1
secondary
#D9CAA6
accent
#B447E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5378D1

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

Preview Lab → · Contrast checker → · Palette generator →

#5378D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva