#5374EB#5374EB

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

Color values

HEX#5374EB
RGBrgb(83, 116, 235)
HSLhsl(227, 79%, 62%)
HSVhsv(227, 65%, 92%)
CMYKcmyk(64.7%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.20, 25.53, -63.77)
CIE-LCHlch(52.20, 68.70, 291.82°)
OKLaboklab(59.74% -0.0043 -0.183)
OKLCHoklch(59.74% 0.183 268.7)
XYZxyz(24.8029, 20.3257, 81.1973)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5374EB #EBCA53
analogous
#53C0EB #5374EB #7E53EB
triadic
#5374EB #EB5374 #74EB53
tetradic
#5374EB #EB53C0 #EBCA53 #53EB7E
square
#5374EB #EB53C0 #EBCA53 #53EB7E
split-complementary
#5374EB #EB7E53 #C0EB53
monochromatic
#1436AF #1C48E5 #5374EB #8AA0F1 #C1CDF8

Accessibility & contrast

On white

4.15
#5374EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5374EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5374EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5374EB#FFFFFF#000000##000000
##5374EB1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5374eb;
/* rgb */ color: rgb(83, 116, 235);
/* oklch */ color: oklch(59.7% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#929bf2',
    500: '#5374eb',
    950: '#000000',
  },
}
SCSS
$custom: #5374eb;
$custom-light: #929bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5374eb",
  "rgb": {
    "r": 83,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 226.974,
    "s": 79.167,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59738,
    "c": 0.18301,
    "h": 268.7
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#5374EB
secondary
#E9DDB1
accent
#AE0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5374EB

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

Preview Lab → · Contrast checker → · Palette generator →

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