#5A74F3#5A74F3

#5A74F3 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.192 H 270.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5A74F3
RGBrgb(90, 116, 243)
HSLhsl(230, 86%, 65%)
HSVhsv(230, 63%, 95%)
CMYKcmyk(63%, 52.3%, 0%, 4.7%)
CIE-LABlab(53.09, 29.37, -66.78)
CIE-LCHlch(53.09, 72.95, 293.74°)
OKLaboklab(60.68% 0.0031 -0.1917)
OKLCHoklch(60.68% 0.192 270.9)
XYZxyz(26.6341, 21.1332, 87.4522)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74F3 #F3D95A
analogous
#5AC0F3 #5A74F3 #8C5AF3
triadic
#5A74F3 #F35A74 #74F35A
tetradic
#5A74F3 #F35AC0 #F3D95A #5AF38C
square
#5A74F3 #F35AC0 #F3D95A #5AF38C
split-complementary
#5A74F3 #F38C5A #C0F35A
monochromatic
#0E2DC4 #2144EF #5A74F3 #93A4F7 #CCD4FB

Accessibility & contrast

On white

4.02
#5A74F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5A74F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74F3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74F3#FFFFFF#000000##000000
##5A74F31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2286F7
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a74f3;
/* rgb */ color: rgb(90, 116, 243);
/* oklch */ color: oklch(60.7% 0.192 270.9);
Tailwind
colors: {
  custom: {
    50: '#979bf8',
    500: '#5a74f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a74f3;
$custom-light: #979bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74f3",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 229.804,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.19168,
    "h": 270.9
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#5A74F3
secondary
#EEE5BB
accent
#BD03E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5A74F3

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

Preview Lab → · Contrast checker → · Palette generator →

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