#5B74F0#5B74F0

#5B74F0 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.187 H 271.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5B74F0
RGBrgb(91, 116, 240)
HSLhsl(230, 83%, 65%)
HSVhsv(230, 62%, 94%)
CMYKcmyk(62.1%, 51.7%, 0%, 5.9%)
CIE-LABlab(52.95, 28.53, -65.33)
CIE-LCHlch(52.95, 71.29, 293.59°)
OKLaboklab(60.52% 0.0039 -0.1874)
OKLCHoklch(60.52% 0.187 271.2)
XYZxyz(26.2827, 21.0039, 85.0903)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74F0 #F0D75B
analogous
#5BBEF0 #5B74F0 #8D5BF0
triadic
#5B74F0 #F05B74 #74F05B
tetradic
#5B74F0 #F05BBE #F0D75B #5BF08D
square
#5B74F0 #F05BBE #F0D75B #5BF08D
split-complementary
#5B74F0 #F08D5B #BEF05B
monochromatic
#112FBF #2344EB #5B74F0 #93A4F5 #CBD3FA

Accessibility & contrast

On white

4.04
#5B74F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5B74F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74F0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74F0#FFFFFF#000000##000000
##5B74F01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b74f0;
/* rgb */ color: rgb(91, 116, 240);
/* oklch */ color: oklch(60.5% 0.187 271.2);
Tailwind
colors: {
  custom: {
    50: '#979bf6',
    500: '#5b74f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b74f0;
$custom-light: #979bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74f0",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 229.933,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.18742,
    "h": 271.2
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#5B74F0
secondary
#EDE4BA
accent
#BB06E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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