#5B74E5#5B74E5

#5B74E5 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.173 H 271.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5B74E5
RGBrgb(91, 116, 229)
HSLhsl(229, 73%, 63%)
HSVhsv(229, 60%, 90%)
CMYKcmyk(60.3%, 49.3%, 0%, 10.2%)
CIE-LABlab(52.25, 24.87, -60.31)
CIE-LCHlch(52.25, 65.24, 292.41°)
OKLaboklab(59.77% 0.0029 -0.1726)
OKLCHoklch(59.77% 0.173 271)
XYZxyz(24.6979, 20.3700, 76.7438)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74E5 #E5CC5B
analogous
#5BB9E5 #5B74E5 #875BE5
triadic
#5B74E5 #E55B74 #74E55B
tetradic
#5B74E5 #E55BB9 #E5CC5B #5BE587
square
#5B74E5 #E55BB9 #E5CC5B #5BE587
split-complementary
#5B74E5 #E5875B #B9E55B
monochromatic
#1B35AB #2647DD #5B74E5 #90A1ED #C5CEF6

Accessibility & contrast

On white

4.14
#5B74E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5B74E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74E5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74E5#FFFFFF#000000##000000
##5B74E51.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#1A77E3
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b74e5;
/* rgb */ color: rgb(91, 116, 229);
/* oklch */ color: oklch(59.8% 0.173 271.0);
Tailwind
colors: {
  custom: {
    50: '#959bee',
    500: '#5b74e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b74e5;
$custom-light: #959bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74e5",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 229.13,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59768,
    "c": 0.17262,
    "h": 271
  },
  "luminance": 0.20372
}

Semantic roles & 50–950 ramp

primary
#5B74E5
secondary
#E7DEB5
accent
#B111D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B74E5

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

Preview Lab → · Contrast checker → · Palette generator →

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