#5A74CF#5A74CF

#5A74CF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.3% C 0.143 H 269.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5A74CF
RGBrgb(90, 116, 207)
HSLhsl(227, 55%, 58%)
HSVhsv(227, 57%, 81%)
CMYKcmyk(56.5%, 44%, 0%, 18.8%)
CIE-LABlab(50.88, 17.40, -50.08)
CIE-LCHlch(50.88, 53.01, 289.16°)
OKLaboklab(58.29% -0.001 -0.1425)
OKLCHoklch(58.29% 0.143 269.6)
XYZxyz(21.7206, 19.1678, 61.5745)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74CF #CFB55A
analogous
#5AAECF #5A74CF #7A5ACF
triadic
#5A74CF #CF5A74 #74CF5A
tetradic
#5A74CF #CF5AAE #CFB55A #5ACF7A
square
#5A74CF #CF5AAE #CFB55A #5ACF7A
split-complementary
#5A74CF #CF7A5A #AECF5A
monochromatic
#273D87 #3552B7 #5A74CF #899CDD #B9C4EB

Accessibility & contrast

On white

4.34
#5A74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5A74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74CF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74CF#FFFFFF#000000##000000
##5A74CF1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7FD2
Deuteranopia (green-blind)
#3C74CD
Tritanopia (blue-blind)
#0B8897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a74cf;
/* rgb */ color: rgb(90, 116, 207);
/* oklch */ color: oklch(58.3% 0.143 269.6);
Tailwind
colors: {
  custom: {
    50: '#919bde',
    500: '#5a74cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a74cf;
$custom-light: #919bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74cf",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 226.667,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.14254,
    "h": 269.6
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#5A74CF
secondary
#DACFAB
accent
#BD4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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