#5A74EA#5A74EA

#5A74EA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.180 H 270.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5A74EA
RGBrgb(90, 116, 234)
HSLhsl(229, 77%, 64%)
HSVhsv(229, 62%, 92%)
CMYKcmyk(61.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.51, 26.36, -62.70)
CIE-LCHlch(52.51, 68.01, 292.80°)
OKLaboklab(60.05% 0.0024 -0.1796)
OKLCHoklch(60.05% 0.18 270.8)
XYZxyz(25.3081, 20.6028, 80.4690)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74EA #EAD05A
analogous
#5ABCEA #5A74EA #885AEA
triadic
#5A74EA #EA5A74 #74EA5A
tetradic
#5A74EA #EA5ABC #EAD05A #5AEA88
square
#5A74EA #EA5ABC #EAD05A #5AEA88
split-complementary
#5A74EA #EA885A #BCEA5A
monochromatic
#1733B3 #2446E3 #5A74EA #90A2F1 #C7CFF8

Accessibility & contrast

On white

4.10
#5A74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5A74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74EA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74EA#FFFFFF#000000##000000
##5A74EA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#0177E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a74ea;
/* rgb */ color: rgb(90, 116, 234);
/* oklch */ color: oklch(60.1% 0.180 270.8);
Tailwind
colors: {
  custom: {
    50: '#959bf1',
    500: '#5a74ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a74ea;
$custom-light: #959bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74ea",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 229.167,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6005,
    "c": 0.17967,
    "h": 270.8
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#5A74EA
secondary
#E9E0B6
accent
#B40CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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