#5B74BB#5B74BB

#5B74BB is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.2% C 0.114 H 268.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5B74BB
RGBrgb(91, 116, 187)
HSLhsl(224, 41%, 55%)
HSVhsv(224, 51%, 73%)
CMYKcmyk(51.3%, 38%, 0%, 26.7%)
CIE-LABlab(49.86, 11.15, -40.24)
CIE-LCHlch(49.86, 41.76, 285.49°)
OKLaboklab(57.16% -0.0039 -0.1137)
OKLCHoklch(57.16% 0.114 268)
XYZxyz(19.5265, 18.3015, 49.5077)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74BB #BBA25B
analogous
#5BA4BB #5B74BB #725BBB
triadic
#5B74BB #BB5B74 #74BB5B
tetradic
#5B74BB #BB5BA4 #BBA25B #5BBB72
square
#5B74BB #BB5BA4 #BBA25B #5BBB72
split-complementary
#5B74BB #BB725B #A4BB5B
monochromatic
#2E3E6E #405799 #5B74BB #8699CD #B2BDDF

Accessibility & contrast

On white

4.51
#5B74BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5B74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B74BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74BB#FFFFFF#000000##000000
##5B74BB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#30838E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b74bb;
/* rgb */ color: rgb(91, 116, 187);
/* oklch */ color: oklch(57.2% 0.114 268.0);
Tailwind
colors: {
  custom: {
    50: '#8f9bd0',
    500: '#5b74bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b74bb;
$custom-light: #8f9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74bb",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 224.375,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.1138,
    "h": 268
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#5B74BB
secondary
#CDC3A5
accent
#B157D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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