#5B74E8#5B74E8

#5B74E8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.177 H 271.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5B74E8
RGBrgb(91, 116, 232)
HSLhsl(229, 75%, 63%)
HSVhsv(229, 61%, 91%)
CMYKcmyk(60.8%, 50%, 0%, 9%)
CIE-LABlab(52.44, 25.87, -61.69)
CIE-LCHlch(52.44, 66.89, 292.75°)
OKLaboklab(59.97% 0.0032 -0.1767)
OKLCHoklch(59.97% 0.177 271)
XYZxyz(25.1204, 20.5390, 78.9689)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74E8 #E8CF5B
analogous
#5BBAE8 #5B74E8 #885BE8
triadic
#5B74E8 #E85B74 #74E85B
tetradic
#5B74E8 #E85BBA #E8CF5B #5BE888
square
#5B74E8 #E85BBA #E8CF5B #5BE888
split-complementary
#5B74E8 #E8885B #BAE85B
monochromatic
#1933B0 #2547E0 #5B74E8 #91A1F0 #C6CFF7

Accessibility & contrast

On white

4.11
#5B74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5B74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74E8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74E8#FFFFFF#000000##000000
##5B74E81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#0F77E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b74e8;
/* rgb */ color: rgb(91, 116, 232);
/* oklch */ color: oklch(60.0% 0.177 271.0);
Tailwind
colors: {
  custom: {
    50: '#969bf0',
    500: '#5b74e8',
    950: '#000000',
  },
}
SCSS
$custom: #5b74e8;
$custom-light: #969bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74e8",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 229.362,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59971,
    "c": 0.17669,
    "h": 271
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

primary
#5B74E8
secondary
#E9E0B6
accent
#B40ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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