#5B74DA#5B74DA

#5B74DA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.0% C 0.158 H 270.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5B74DA
RGBrgb(91, 116, 218)
HSLhsl(228, 63%, 61%)
HSVhsv(228, 58%, 85%)
CMYKcmyk(58.3%, 46.8%, 0%, 14.5%)
CIE-LABlab(51.58, 21.22, -55.19)
CIE-LCHlch(51.58, 59.13, 291.03°)
OKLaboklab(59.04% 0.0016 -0.1575)
OKLCHoklch(59.04% 0.158 270.6)
XYZxyz(23.2105, 19.7751, 68.9099)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74DA #DAC15B
analogous
#5BB3DA #5B74DA #815BDA
triadic
#5B74DA #DA5B74 #74DA5B
tetradic
#5B74DA #DA5BB3 #DAC15B #5BDA81
square
#5B74DA #DA5BB3 #DAC15B #5BDA81
split-complementary
#5B74DA #DA815B #B3DA5B
monochromatic
#223A98 #2E4CCA #5B74DA #8D9EE5 #BFC9F1

Accessibility & contrast

On white

4.24
#5B74DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5B74DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74DA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74DA#FFFFFF#000000##000000
##5B74DA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DE
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b74da;
/* rgb */ color: rgb(91, 116, 218);
/* oklch */ color: oklch(59.0% 0.158 270.6);
Tailwind
colors: {
  custom: {
    50: '#939be6',
    500: '#5b74da',
    950: '#000000',
  },
}
SCSS
$custom: #5b74da;
$custom-light: #939be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74da",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 228.189,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59043,
    "c": 0.15756,
    "h": 270.6
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#5B74DA
secondary
#E1D7B0
accent
#A81BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B74DA

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

Preview Lab → · Contrast checker → · Palette generator →

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