#5B74EA#5B74EA

#5B74EA is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.179 H 271.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B74EA
RGBrgb(91, 116, 234)
HSLhsl(230, 77%, 64%)
HSVhsv(230, 61%, 92%)
CMYKcmyk(61.1%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.57, 26.53, -62.61)
CIE-LCHlch(52.57, 68.00, 292.97°)
OKLaboklab(60.11% 0.0034 -0.1793)
OKLCHoklch(60.11% 0.179 271.1)
XYZxyz(25.4061, 20.6533, 80.4736)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74EA #EAD15B
analogous
#5BBCEA #5B74EA #895BEA
triadic
#5B74EA #EA5B74 #74EA5B
tetradic
#5B74EA #EA5BBC #EAD15B #5BEA89
square
#5B74EA #EA5BBC #EAD15B #5BEA89
split-complementary
#5B74EA #EA895B #BCEA5B
monochromatic
#1732B4 #2546E3 #5B74EA #91A2F1 #C8D0F8

Accessibility & contrast

On white

4.09
#5B74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5B74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74EA#FFFFFF#000000##000000
##5B74EA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#0477E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b74ea;
/* rgb */ color: rgb(91, 116, 234);
/* oklch */ color: oklch(60.1% 0.179 271.1);
Tailwind
colors: {
  custom: {
    50: '#969bf1',
    500: '#5b74ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b74ea;
$custom-light: #969bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74ea",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 229.51,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.17938,
    "h": 271.1
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#5B74EA
secondary
#EAE1B7
accent
#B60CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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