#5A74ED#5A74ED

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

Color values

HEX#5A74ED
RGBrgb(90, 116, 237)
HSLhsl(229, 80%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(62%, 51.1%, 0%, 7.1%)
CIE-LABlab(52.70, 27.36, -64.07)
CIE-LCHlch(52.70, 69.66, 293.13°)
OKLaboklab(60.26% 0.0026 -0.1837)
OKLCHoklch(60.26% 0.184 270.8)
XYZxyz(25.7428, 20.7767, 82.7580)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74ED #EDD35A
analogous
#5ABEED #5A74ED #8A5AED
triadic
#5A74ED #ED5A74 #74ED5A
tetradic
#5A74ED #ED5ABE #EDD35A #5AED8A
square
#5A74ED #ED5ABE #EDD35A #5AED8A
split-complementary
#5A74ED #ED8A5A #BEED5A
monochromatic
#1431B8 #2346E7 #5A74ED #91A2F3 #C8D1F9

Accessibility & contrast

On white

4.07
#5A74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5A74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74ED
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74ED#FFFFFF#000000##000000
##5A74ED1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a74ed;
/* rgb */ color: rgb(90, 116, 237);
/* oklch */ color: oklch(60.3% 0.184 270.8);
Tailwind
colors: {
  custom: {
    50: '#969bf4',
    500: '#5a74ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a74ed;
$custom-light: #969bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74ed",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 229.388,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.18369,
    "h": 270.8
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

primary
#5A74ED
secondary
#EBE2B8
accent
#B709DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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