#5B74DC#5B74DC

#5B74DC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.160 H 270.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5B74DC
RGBrgb(91, 116, 220)
HSLhsl(228, 65%, 61%)
HSVhsv(228, 59%, 86%)
CMYKcmyk(58.6%, 47.3%, 0%, 13.7%)
CIE-LABlab(51.70, 21.88, -56.13)
CIE-LCHlch(51.70, 60.25, 291.30°)
OKLaboklab(59.17% 0.0019 -0.1603)
OKLCHoklch(59.17% 0.16 270.7)
XYZxyz(23.4737, 19.8804, 70.2966)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74DC #DCC35B
analogous
#5BB4DC #5B74DC #825BDC
triadic
#5B74DC #DC5B74 #74DC5B
tetradic
#5B74DC #DC5BB4 #DCC35B #5BDC82
square
#5B74DC #DC5BB4 #DCC35B #5BDC82
split-complementary
#5B74DC #DC825B #B4DC5B
monochromatic
#21399B #2C4BCE #5B74DC #8D9FE7 #C0C9F2

Accessibility & contrast

On white

4.22
#5B74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5B74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74DC#FFFFFF#000000##000000
##5B74DC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b74dc;
/* rgb */ color: rgb(91, 116, 220);
/* oklch */ color: oklch(59.2% 0.160 270.7);
Tailwind
colors: {
  custom: {
    50: '#949be7',
    500: '#5b74dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b74dc;
$custom-light: #949be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74dc",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 228.372,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.16032,
    "h": 270.7
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#5B74DC
secondary
#E2D8B1
accent
#AA19CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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