#5A74EE#5A74EE

#5A74EE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.185 H 270.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5A74EE
RGBrgb(90, 116, 238)
HSLhsl(229, 81%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(62.2%, 51.3%, 0%, 6.7%)
CIE-LABlab(52.77, 27.70, -64.52)
CIE-LCHlch(52.77, 70.21, 293.23°)
OKLaboklab(60.33% 0.0027 -0.185)
OKLCHoklch(60.33% 0.185 270.8)
XYZxyz(25.8893, 20.8353, 83.5296)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74EE #EED45A
analogous
#5ABEEE #5A74EE #8A5AEE
triadic
#5A74EE #EE5A74 #74EE5A
tetradic
#5A74EE #EE5ABE #EED45A #5AEE8A
square
#5A74EE #EE5ABE #EED45A #5AEE8A
split-complementary
#5A74EE #EE8A5A #BEEE5A
monochromatic
#1331BA #2345E8 #5A74EE #91A3F4 #C9D1F9

Accessibility & contrast

On white

4.06
#5A74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5A74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74EE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74EE#FFFFFF#000000##000000
##5A74EE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a74ee;
/* rgb */ color: rgb(90, 116, 238);
/* oklch */ color: oklch(60.3% 0.185 270.8);
Tailwind
colors: {
  custom: {
    50: '#969bf4',
    500: '#5a74ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a74ee;
$custom-light: #969bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74ee",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 229.459,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.18503,
    "h": 270.8
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#5A74EE
secondary
#ECE3B8
accent
#B808DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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