#5368E4#5368E4

#5368E4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.9% C 0.188 H 271.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5368E4
RGBrgb(83, 104, 228)
HSLhsl(231, 73%, 61%)
HSVhsv(231, 64%, 89%)
CMYKcmyk(63.6%, 54.4%, 0%, 10.6%)
CIE-LABlab(48.68, 30.57, -65.53)
CIE-LCHlch(48.68, 72.31, 295.01°)
OKLaboklab(56.94% 0.006 -0.1883)
OKLCHoklch(56.94% 0.188 271.8)
XYZxyz(22.5165, 17.3391, 75.5439)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5368E4 #E4CF53
analogous
#53B0E4 #5368E4 #8653E4
triadic
#5368E4 #E45368 #68E453
tetradic
#5368E4 #E453B0 #E4CF53 #53E486
square
#5368E4 #E453B0 #E4CF53 #53E486
split-complementary
#5368E4 #E48653 #B0E453
monochromatic
#1A2DA3 #223CD8 #5368E4 #8896EC #BDC5F5

Accessibility & contrast

On white

4.70
#5368E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5368E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5368E4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5368E4#FFFFFF#000000##FFFFFF
##5368E41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5368e4;
/* rgb */ color: rgb(83, 104, 228);
/* oklch */ color: oklch(56.9% 0.188 271.8);
Tailwind
colors: {
  custom: {
    50: '#9292ed',
    500: '#5368e4',
    950: '#000000',
  },
}
SCSS
$custom: #5368e4;
$custom-light: #9292ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5368e4",
  "rgb": {
    "r": 83,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 231.31,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.18838,
    "h": 271.8
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#5368E4
secondary
#E5DDAE
accent
#B911D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5368E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5368E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva