#5B74C8#5B74C8

#5B74C8 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.9% C 0.132 H 269.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5B74C8
RGBrgb(91, 116, 200)
HSLhsl(226, 50%, 57%)
HSVhsv(226, 55%, 78%)
CMYKcmyk(54.5%, 42%, 0%, 21.6%)
CIE-LABlab(50.55, 15.33, -46.61)
CIE-LCHlch(50.55, 49.06, 288.20°)
OKLaboklab(57.92% -0.0013 -0.1323)
OKLCHoklch(57.92% 0.132 269.5)
XYZxyz(20.9817, 18.8835, 57.1716)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74C8 #C8AF5B
analogous
#5BAAC8 #5B74C8 #795BC8
triadic
#5B74C8 #C85B74 #74C85B
tetradic
#5B74C8 #C85BAA #C8AF5B #5BC879
square
#5B74C8 #C85BAA #C8AF5B #5BC879
split-complementary
#5B74C8 #C8795B #AAC85B
monochromatic
#2A3E7E #3A54AC #5B74C8 #899BD7 #B7C2E7

Accessibility & contrast

On white

4.40
#5B74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5B74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74C8#FFFFFF#000000##000000
##5B74C81.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DCB
Deuteranopia (green-blind)
#4474C6
Tritanopia (blue-blind)
#208694
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b74c8;
/* rgb */ color: rgb(91, 116, 200);
/* oklch */ color: oklch(57.9% 0.132 269.5);
Tailwind
colors: {
  custom: {
    50: '#919bd9',
    500: '#5b74c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b74c8;
$custom-light: #919bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74c8",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 226.239,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.13236,
    "h": 269.5
  },
  "luminance": 0.18885
}

Semantic roles & 50–950 ramp

primary
#5B74C8
secondary
#D6CBA9
accent
#B94FD9
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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