#5A78BB#5A78BB

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

Color values

HEX#5A78BB
RGBrgb(90, 120, 187)
HSLhsl(221, 42%, 54%)
HSVhsv(221, 52%, 73%)
CMYKcmyk(51.9%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.91, 8.48, -38.58)
CIE-LCHlch(50.91, 39.50, 282.40°)
OKLaboklab(57.96% -0.0097 -0.1089)
OKLCHoklch(57.96% 0.109 264.9)
XYZxyz(19.8996, 19.1931, 49.6601)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A78BB #BB9D5A
analogous
#5AA9BB #5A78BB #6D5ABB
triadic
#5A78BB #BB5A78 #78BB5A
tetradic
#5A78BB #BB5AA9 #BB9D5A #5ABB6D
square
#5A78BB #BB5AA9 #BB9D5A #5ABB6D
split-complementary
#5A78BB #BB6D5A #A9BB5A
monochromatic
#2D416D #3F5B99 #5A78BB #859BCD #B1BFDF

Accessibility & contrast

On white

4.34
#5A78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5A78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A78BB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A78BB#FFFFFF#000000##000000
##5A78BB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a78bb;
/* rgb */ color: rgb(90, 120, 187);
/* oklch */ color: oklch(58.0% 0.109 264.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ed0',
    500: '#5a78bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a78bb;
$custom-light: #8f9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a78bb",
  "rgb": {
    "r": 90,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 221.443,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.10932,
    "h": 264.9
  },
  "luminance": 0.19194
}

Semantic roles & 50–950 ramp

primary
#5A78BB
secondary
#CDC0A4
accent
#AB56D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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