#5B74DB#5B74DB

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

Color values

HEX#5B74DB
RGBrgb(91, 116, 219)
HSLhsl(228, 64%, 61%)
HSVhsv(228, 58%, 86%)
CMYKcmyk(58.4%, 47%, 0%, 14.1%)
CIE-LABlab(51.64, 21.55, -55.66)
CIE-LCHlch(51.64, 59.69, 291.17°)
OKLaboklab(59.11% 0.0017 -0.1589)
OKLCHoklch(59.11% 0.159 270.6)
XYZxyz(23.3417, 19.8276, 69.6012)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74DB #DBC25B
analogous
#5BB4DB #5B74DB #825BDB
triadic
#5B74DB #DB5B74 #74DB5B
tetradic
#5B74DB #DB5BB4 #DBC25B #5BDB82
square
#5B74DB #DB5BB4 #DBC25B #5BDB82
split-complementary
#5B74DB #DB825B #B4DB5B
monochromatic
#22399A #2D4CCC #5B74DB #8D9FE6 #BFC9F1

Accessibility & contrast

On white

4.23
#5B74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5B74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74DB#FFFFFF#000000##000000
##5B74DB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DF
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b74db;
/* rgb */ color: rgb(91, 116, 219);
/* oklch */ color: oklch(59.1% 0.159 270.6);
Tailwind
colors: {
  custom: {
    50: '#949be7',
    500: '#5b74db',
    950: '#000000',
  },
}
SCSS
$custom: #5b74db;
$custom-light: #949be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74db",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 228.281,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.15894,
    "h": 270.6
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#5B74DB
secondary
#E1D8B1
accent
#A91ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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