#5B74CA#5B74CA

#5B74CA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.0% C 0.135 H 269.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B74CA
RGBrgb(91, 116, 202)
HSLhsl(226, 51%, 57%)
HSVhsv(226, 55%, 79%)
CMYKcmyk(55%, 42.6%, 0%, 20.8%)
CIE-LABlab(50.66, 15.98, -47.58)
CIE-LCHlch(50.66, 50.19, 288.56°)
OKLaboklab(58.04% -0.0009 -0.1352)
OKLCHoklch(58.04% 0.135 269.6)
XYZxyz(21.2169, 18.9776, 58.4107)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74CA #CAB15B
analogous
#5BACCA #5B74CA #795BCA
triadic
#5B74CA #CA5B74 #74CA5B
tetradic
#5B74CA #CA5BAC #CAB15B #5BCA79
square
#5B74CA #CA5BAC #CAB15B #5BCA79
split-complementary
#5B74CA #CA795B #ACCA5B
monochromatic
#2A3D81 #3953AF #5B74CA #899BD9 #B8C2E8

Accessibility & contrast

On white

4.38
#5B74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5B74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74CA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74CA#FFFFFF#000000##000000
##5B74CA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#1D8795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b74ca;
/* rgb */ color: rgb(91, 116, 202);
/* oklch */ color: oklch(58.0% 0.135 269.6);
Tailwind
colors: {
  custom: {
    50: '#919bda',
    500: '#5b74ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b74ca;
$custom-light: #919bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74ca",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 226.486,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.13519,
    "h": 269.6
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

primary
#5B74CA
secondary
#D7CDAA
accent
#BB4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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