#5B74EB#5B74EB

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

Color values

HEX#5B74EB
RGBrgb(91, 116, 235)
HSLhsl(230, 78%, 64%)
HSVhsv(230, 61%, 92%)
CMYKcmyk(61.3%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.63, 26.87, -63.06)
CIE-LCHlch(52.63, 68.55, 293.08°)
OKLaboklab(60.18% 0.0035 -0.1807)
OKLCHoklch(60.18% 0.181 271.1)
XYZxyz(25.5502, 20.7109, 81.2323)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74EB #EBD25B
analogous
#5BBCEB #5B74EB #8A5BEB
triadic
#5B74EB #EB5B74 #74EB5B
tetradic
#5B74EB #EB5BBC #EBD25B #5BEB8A
square
#5B74EB #EB5BBC #EBD25B #5BEB8A
split-complementary
#5B74EB #EB8A5B #BCEB5B
monochromatic
#1632B5 #2446E4 #5B74EB #92A2F2 #C8D0F8

Accessibility & contrast

On white

4.08
#5B74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5B74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74EB#FFFFFF#000000##000000
##5B74EB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b74eb;
/* rgb */ color: rgb(91, 116, 235);
/* oklch */ color: oklch(60.2% 0.181 271.1);
Tailwind
colors: {
  custom: {
    50: '#969bf2',
    500: '#5b74eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b74eb;
$custom-light: #969bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74eb",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 229.583,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60176,
    "c": 0.18073,
    "h": 271.1
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

primary
#5B74EB
secondary
#EAE1B8
accent
#B60BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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