#5374EA#5374EA

#5374EA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.182 H 268.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5374EA
RGBrgb(83, 116, 234)
HSLhsl(227, 78%, 62%)
HSVhsv(227, 65%, 92%)
CMYKcmyk(64.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.14, 25.19, -63.32)
CIE-LCHlch(52.14, 68.15, 291.70°)
OKLaboklab(59.67% -0.0044 -0.1816)
OKLCHoklch(59.67% 0.182 268.6)
XYZxyz(24.6589, 20.2680, 80.4386)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5374EA #EAC953
analogous
#53C0EA #5374EA #7D53EA
triadic
#5374EA #EA5374 #74EA53
tetradic
#5374EA #EA53C0 #EAC953 #53EA7D
square
#5374EA #EA53C0 #EAC953 #53EA7D
split-complementary
#5374EA #EA7D53 #C0EA53
monochromatic
#1536AD #1C48E3 #5374EA #8AA0F1 #C0CCF7

Accessibility & contrast

On white

4.16
#5374EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5374EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5374EA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5374EA#FFFFFF#000000##000000
##5374EA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5374ea;
/* rgb */ color: rgb(83, 116, 234);
/* oklch */ color: oklch(59.7% 0.182 268.6);
Tailwind
colors: {
  custom: {
    50: '#929bf1',
    500: '#5374ea',
    950: '#000000',
  },
}
SCSS
$custom: #5374ea;
$custom-light: #929bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5374ea",
  "rgb": {
    "r": 83,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 226.887,
    "s": 78.238,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.18167,
    "h": 268.6
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#5374EA
secondary
#E8DCB1
accent
#AD0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5374EA

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

Preview Lab → · Contrast checker → · Palette generator →

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