#5B74ED#5B74ED

#5B74ED is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.183 H 271.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5B74ED
RGBrgb(91, 116, 237)
HSLhsl(230, 80%, 64%)
HSVhsv(230, 62%, 93%)
CMYKcmyk(61.6%, 51.1%, 0%, 7.1%)
CIE-LABlab(52.76, 27.53, -63.97)
CIE-LCHlch(52.76, 69.65, 293.29°)
OKLaboklab(60.31% 0.0036 -0.1834)
OKLCHoklch(60.31% 0.183 271.1)
XYZxyz(25.8407, 20.8272, 82.7626)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74ED #EDD45B
analogous
#5BBDED #5B74ED #8B5BED
triadic
#5B74ED #ED5B74 #74ED5B
tetradic
#5B74ED #ED5BBD #EDD45B #5BED8B
square
#5B74ED #ED5BBD #EDD45B #5BED8B
split-complementary
#5B74ED #ED8B5B #BDED5B
monochromatic
#1431B9 #2445E7 #5B74ED #92A3F3 #C9D1F9

Accessibility & contrast

On white

4.07
#5B74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5B74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74ED
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74ED#FFFFFF#000000##000000
##5B74ED1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b74ed;
/* rgb */ color: rgb(91, 116, 237);
/* oklch */ color: oklch(60.3% 0.183 271.1);
Tailwind
colors: {
  custom: {
    50: '#969bf4',
    500: '#5b74ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b74ed;
$custom-light: #969bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74ed",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 229.726,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.18342,
    "h": 271.1
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#5B74ED
secondary
#EBE3B9
accent
#B809DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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