#5A74E2#5A74E2

#5A74E2 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.169 H 270.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A74E2
RGBrgb(90, 116, 226)
HSLhsl(229, 70%, 62%)
HSVhsv(229, 60%, 89%)
CMYKcmyk(60.2%, 48.7%, 0%, 11.4%)
CIE-LABlab(52.01, 23.69, -59.02)
CIE-LCHlch(52.01, 63.60, 291.87°)
OKLaboklab(59.51% 0.0016 -0.1688)
OKLCHoklch(59.51% 0.169 270.5)
XYZxyz(24.1847, 20.1534, 74.5523)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74E2 #E2C85A
analogous
#5AB8E2 #5A74E2 #845AE2
triadic
#5A74E2 #E25A74 #74E25A
tetradic
#5A74E2 #E25AB8 #E2C85A #5AE284
square
#5A74E2 #E25AB8 #E2C85A #5AE284
split-complementary
#5A74E2 #E2845A #B8E25A
monochromatic
#1D37A5 #2648D9 #5A74E2 #8EA0EB #C2CCF4

Accessibility & contrast

On white

4.17
#5A74E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5A74E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74E2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74E2#FFFFFF#000000##000000
##5A74E21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B82E6
Deuteranopia (green-blind)
#2076E0
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a74e2;
/* rgb */ color: rgb(90, 116, 226);
/* oklch */ color: oklch(59.5% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#949bec',
    500: '#5a74e2',
    950: '#000000',
  },
}
SCSS
$custom: #5a74e2;
$custom-light: #949bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74e2",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 228.529,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5951,
    "c": 0.16883,
    "h": 270.5
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#5A74E2
secondary
#E5DBB3
accent
#AE13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A74E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5A74E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva