#5374EC#5374EC

#5374EC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.184 H 268.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5374EC
RGBrgb(83, 116, 236)
HSLhsl(227, 80%, 63%)
HSVhsv(227, 65%, 93%)
CMYKcmyk(64.8%, 50.8%, 0%, 7.5%)
CIE-LABlab(52.27, 25.88, -64.23)
CIE-LCHlch(52.27, 69.25, 291.94°)
OKLaboklab(59.81% -0.0042 -0.1843)
OKLCHoklch(59.81% 0.184 268.7)
XYZxyz(24.9478, 20.3836, 81.9603)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5374EC #ECCB53
analogous
#53C0EC #5374EC #7F53EC
triadic
#5374EC #EC5374 #74EC53
tetradic
#5374EC #EC53C0 #ECCB53 #53EC7F
square
#5374EC #EC53C0 #ECCB53 #53EC7F
split-complementary
#5374EC #EC7F53 #C0EC53
monochromatic
#1436B1 #1C47E6 #5374EC #8AA1F2 #C1CDF8

Accessibility & contrast

On white

4.14
#5374EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5374EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5374EC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5374EC#FFFFFF#000000##000000
##5374EC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F0
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5374ec;
/* rgb */ color: rgb(83, 116, 236);
/* oklch */ color: oklch(59.8% 0.184 268.7);
Tailwind
colors: {
  custom: {
    50: '#929bf3',
    500: '#5374ec',
    950: '#000000',
  },
}
SCSS
$custom: #5374ec;
$custom-light: #929bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5374ec",
  "rgb": {
    "r": 83,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 227.059,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59807,
    "c": 0.18435,
    "h": 268.7
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#5374EC
secondary
#E9DDB2
accent
#AF09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5374EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5374EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva