#5378E2#5378E2

#5378E2 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.166 H 266.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5378E2
RGBrgb(83, 120, 226)
HSLhsl(224, 71%, 61%)
HSVhsv(224, 63%, 89%)
CMYKcmyk(63.3%, 46.9%, 0%, 11.4%)
CIE-LABlab(52.69, 19.99, -57.95)
CIE-LCHlch(52.69, 61.30, 289.04°)
OKLaboklab(59.93% -0.009 -0.1658)
OKLCHoklch(59.93% 0.166 266.9)
XYZxyz(24.0065, 20.7608, 74.6789)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5378E2 #E2BD53
analogous
#53BFE2 #5378E2 #7653E2
triadic
#5378E2 #E25378 #78E253
tetradic
#5378E2 #E253BF #E2BD53 #53E276
square
#5378E2 #E253BF #E2BD53 #53E276
split-complementary
#5378E2 #E27653 #BFE253
monochromatic
#1B3DA0 #2451D4 #5378E2 #87A1EB #BCCAF4

Accessibility & contrast

On white

4.08
#5378E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5378E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5378E2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5378E2#FFFFFF#000000##000000
##5378E21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E6
Deuteranopia (green-blind)
#2778E0
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5378e2;
/* rgb */ color: rgb(83, 120, 226);
/* oklch */ color: oklch(59.9% 0.166 266.9);
Tailwind
colors: {
  custom: {
    50: '#909eec',
    500: '#5378e2',
    950: '#000000',
  },
}
SCSS
$custom: #5378e2;
$custom-light: #909eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5378e2",
  "rgb": {
    "r": 83,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 224.476,
    "s": 71.144,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59925,
    "c": 0.16603,
    "h": 266.9
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#5378E2
secondary
#E4D6AD
accent
#A112D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5378E2

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

Preview Lab → · Contrast checker → · Palette generator →

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