#5B74CD#5B74CD

#5B74CD is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.139 H 269.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5B74CD
RGBrgb(91, 116, 205)
HSLhsl(227, 53%, 58%)
HSVhsv(227, 56%, 80%)
CMYKcmyk(55.6%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.83, 16.95, -49.02)
CIE-LCHlch(50.83, 51.87, 289.08°)
OKLaboklab(58.22% -0.0004 -0.1394)
OKLCHoklch(58.22% 0.139 269.8)
XYZxyz(21.5756, 19.1211, 60.2996)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74CD #CDB45B
analogous
#5BADCD #5B74CD #7B5BCD
triadic
#5B74CD #CD5B74 #74CD5B
tetradic
#5B74CD #CD5BAD #CDB45B #5BCD7B
square
#5B74CD #CD5BAD #CDB45B #5BCD7B
split-complementary
#5B74CD #CD7B5B #ADCD5B
monochromatic
#293D85 #3752B4 #5B74CD #8A9CDB #B9C4EA

Accessibility & contrast

On white

4.35
#5B74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5B74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74CD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74CD#FFFFFF#000000##000000
##5B74CD1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#178896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b74cd;
/* rgb */ color: rgb(91, 116, 205);
/* oklch */ color: oklch(58.2% 0.139 269.8);
Tailwind
colors: {
  custom: {
    50: '#929bdd',
    500: '#5b74cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b74cd;
$custom-light: #929bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74cd",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 226.842,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58224,
    "c": 0.13942,
    "h": 269.8
  },
  "luminance": 0.19123
}

Semantic roles & 50–950 ramp

primary
#5B74CD
secondary
#D9CFAB
accent
#BD4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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