#5B78BF#5B78BF

#5B78BF is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.2% C 0.115 H 266.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B78BF
RGBrgb(91, 120, 191)
HSLhsl(223, 44%, 55%)
HSVhsv(223, 52%, 75%)
CMYKcmyk(52.4%, 37.2%, 0%, 25.1%)
CIE-LABlab(51.17, 9.99, -40.47)
CIE-LCHlch(51.17, 41.68, 283.86°)
OKLaboklab(58.24% -0.0078 -0.1144)
OKLCHoklch(58.24% 0.115 266.1)
XYZxyz(20.4317, 19.4172, 51.9514)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78BF #BFA25B
analogous
#5BAABF #5B78BF #705BBF
triadic
#5B78BF #BF5B78 #78BF5B
tetradic
#5B78BF #BF5BAA #BFA25B #5BBF70
square
#5B78BF #BF5BAA #BFA25B #5BBF70
split-complementary
#5B78BF #BF705B #AABF5B
monochromatic
#2D4173 #3E5A9F #5B78BF #879CD0 #B3C0E1

Accessibility & contrast

On white

4.30
#5B78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5B78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78BF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78BF#FFFFFF#000000##000000
##5B78BF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#5176BD
Tritanopia (blue-blind)
#2B8792
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b78bf;
/* rgb */ color: rgb(91, 120, 191);
/* oklch */ color: oklch(58.2% 0.115 266.1);
Tailwind
colors: {
  custom: {
    50: '#909ed2',
    500: '#5b78bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b78bf;
$custom-light: #909ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78bf",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 222.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58244,
    "c": 0.11463,
    "h": 266.1
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#5B78BF
secondary
#D0C4A6
accent
#AF54D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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