#5B74CB#5B74CB

#5B74CB is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.137 H 269.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5B74CB
RGBrgb(91, 116, 203)
HSLhsl(227, 52%, 58%)
HSVhsv(227, 55%, 80%)
CMYKcmyk(55.2%, 42.9%, 0%, 20.4%)
CIE-LABlab(50.72, 16.30, -48.06)
CIE-LCHlch(50.72, 50.75, 288.74°)
OKLaboklab(58.1% -0.0007 -0.1366)
OKLCHoklch(58.1% 0.137 269.7)
XYZxyz(21.3357, 19.0252, 59.0363)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74CB #CBB25B
analogous
#5BACCB #5B74CB #7A5BCB
triadic
#5B74CB #CB5B74 #74CB5B
tetradic
#5B74CB #CB5BAC #CBB25B #5BCB7A
square
#5B74CB #CB5BAC #CBB25B #5BCB7A
split-complementary
#5B74CB #CB7A5B #ACCB5B
monochromatic
#293D82 #3853B1 #5B74CB #899BDA #B8C3E8

Accessibility & contrast

On white

4.37
#5B74CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5B74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74CB#FFFFFF#000000##000000
##5B74CB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#1B8795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b74cb;
/* rgb */ color: rgb(91, 116, 203);
/* oklch */ color: oklch(58.1% 0.137 269.7);
Tailwind
colors: {
  custom: {
    50: '#919bdb',
    500: '#5b74cb',
    950: '#000000',
  },
}
SCSS
$custom: #5b74cb;
$custom-light: #919bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74cb",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 226.607,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.1366,
    "h": 269.7
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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