#5A74F0#5A74F0

#5A74F0 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.188 H 270.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5A74F0
RGBrgb(90, 116, 240)
HSLhsl(230, 83%, 65%)
HSVhsv(230, 63%, 94%)
CMYKcmyk(62.5%, 51.7%, 0%, 5.9%)
CIE-LABlab(52.90, 28.37, -65.43)
CIE-LCHlch(52.90, 71.31, 293.44°)
OKLaboklab(60.47% 0.0029 -0.1877)
OKLCHoklch(60.47% 0.188 270.9)
XYZxyz(26.1847, 20.9534, 85.0857)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74F0 #F0D65A
analogous
#5ABFF0 #5A74F0 #8B5AF0
triadic
#5A74F0 #F05A74 #74F05A
tetradic
#5A74F0 #F05ABF #F0D65A #5AF08B
square
#5A74F0 #F05ABF #F0D65A #5AF08B
split-complementary
#5A74F0 #F08B5A #BFF05A
monochromatic
#112FBE #2245EB #5A74F0 #92A3F5 #CAD3FA

Accessibility & contrast

On white

4.05
#5A74F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5A74F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74F0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74F0#FFFFFF#000000##000000
##5A74F01.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a74f0;
/* rgb */ color: rgb(90, 116, 240);
/* oklch */ color: oklch(60.5% 0.188 270.9);
Tailwind
colors: {
  custom: {
    50: '#969bf6',
    500: '#5a74f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a74f0;
$custom-light: #969bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74f0",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 229.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60466,
    "c": 0.1877,
    "h": 270.9
  },
  "luminance": 0.20956
}

Semantic roles & 50–950 ramp

primary
#5A74F0
secondary
#EDE4B9
accent
#BA06E0
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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