#5B78BB#5B78BB

#5B78BB is a mid, moderate blue. Relative luminance 0.192; OKLCH L 58.0% C 0.109 H 265.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5B78BB
RGBrgb(91, 120, 187)
HSLhsl(222, 41%, 55%)
HSVhsv(222, 51%, 73%)
CMYKcmyk(51.3%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.97, 8.71, -38.49)
CIE-LCHlch(50.97, 39.46, 282.76°)
OKLaboklab(58.02% -0.0087 -0.1086)
OKLCHoklch(58.02% 0.109 265.4)
XYZxyz(19.9975, 19.2436, 49.6647)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78BB #BB9E5B
analogous
#5BA8BB #5B78BB #6E5BBB
triadic
#5B78BB #BB5B78 #78BB5B
tetradic
#5B78BB #BB5BA8 #BB9E5B #5BBB6E
square
#5B78BB #BB5BA8 #BB9E5B #5BBB6E
split-complementary
#5B78BB #BB6E5B #A8BB5B
monochromatic
#2E416E #405B99 #5B78BB #869CCD #B2BFDF

Accessibility & contrast

On white

4.33
#5B78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5B78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78BB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78BB#FFFFFF#000000##000000
##5B78BB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#2F8691
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b78bb;
/* rgb */ color: rgb(91, 120, 187);
/* oklch */ color: oklch(58.0% 0.109 265.4);
Tailwind
colors: {
  custom: {
    50: '#8f9ed0',
    500: '#5b78bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b78bb;
$custom-light: #8f9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78bb",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 221.875,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.10894,
    "h": 265.4
  },
  "luminance": 0.19245
}

Semantic roles & 50–950 ramp

primary
#5B78BB
secondary
#CDC1A5
accent
#AC57D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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