#5B74E9#5B74E9

#5B74E9 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.178 H 271.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5B74E9
RGBrgb(91, 116, 233)
HSLhsl(229, 76%, 64%)
HSVhsv(229, 61%, 91%)
CMYKcmyk(60.9%, 50.2%, 0%, 8.6%)
CIE-LABlab(52.50, 26.20, -62.15)
CIE-LCHlch(52.50, 67.44, 292.86°)
OKLaboklab(60.04% 0.0033 -0.178)
OKLCHoklch(60.04% 0.178 271.1)
XYZxyz(25.2628, 20.5960, 79.7191)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74E9 #E9D05B
analogous
#5BBBE9 #5B74E9 #895BE9
triadic
#5B74E9 #E95B74 #74E95B
tetradic
#5B74E9 #E95BBB #E9D05B #5BE989
square
#5B74E9 #E95BBB #E9D05B #5BE989
split-complementary
#5B74E9 #E9895B #BBE95B
monochromatic
#1833B2 #2546E2 #5B74E9 #91A2F0 #C7CFF7

Accessibility & contrast

On white

4.10
#5B74E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5B74E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74E9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74E9#FFFFFF#000000##000000
##5B74E91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#0A77E7
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b74e9;
/* rgb */ color: rgb(91, 116, 233);
/* oklch */ color: oklch(60.0% 0.178 271.1);
Tailwind
colors: {
  custom: {
    50: '#969bf1',
    500: '#5b74e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b74e9;
$custom-light: #969bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74e9",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 229.437,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.17804,
    "h": 271.1
  },
  "luminance": 0.20598
}

Semantic roles & 50–950 ramp

primary
#5B74E9
secondary
#E9E0B7
accent
#B50DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B74E9

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

Preview Lab → · Contrast checker → · Palette generator →

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