#5A74F9#5A74F9

#5A74F9 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.200 H 271.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A74F9
RGBrgb(90, 116, 249)
HSLhsl(230, 93%, 66%)
HSVhsv(230, 64%, 98%)
CMYKcmyk(63.9%, 53.4%, 0%, 2.4%)
CIE-LABlab(53.49, 31.38, -69.47)
CIE-LCHlch(53.49, 76.22, 294.31°)
OKLaboklab(61.1% 0.0035 -0.1996)
OKLCHoklch(61.1% 0.2 271)
XYZxyz(27.5550, 21.5015, 92.3023)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74F9 #F9DF5A
analogous
#5AC3F9 #5A74F9 #905AF9
triadic
#5A74F9 #F95A74 #74F95A
tetradic
#5A74F9 #F95AC3 #F9DF5A #5AF990
square
#5A74F9 #F95AC3 #F9DF5A #5AF990
split-complementary
#5A74F9 #F9905A #C3F95A
monochromatic
#0829D1 #1F42F7 #5A74F9 #95A6FB #D0D7FD

Accessibility & contrast

On white

3.96
#5A74F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5A74F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74F9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74F9#FFFFFF#000000##000000
##5A74F91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1087FE
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#0094AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a74f9;
/* rgb */ color: rgb(90, 116, 249);
/* oklch */ color: oklch(61.1% 0.200 271.0);
Tailwind
colors: {
  custom: {
    50: '#989bfc',
    500: '#5a74f9',
    950: '#000000',
  },
}
SCSS
$custom: #5a74f9;
$custom-light: #989bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74f9",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 230.189,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.19959,
    "h": 271
  },
  "luminance": 0.21504
}

Semantic roles & 50–950 ramp

primary
#5A74F9
secondary
#F1E9BE
accent
#C000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5A74F9

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

Preview Lab → · Contrast checker → · Palette generator →

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