#5B78EB#5B78EB

#5B78EB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.176 H 269.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5B78EB
RGBrgb(91, 120, 235)
HSLhsl(228, 78%, 64%)
HSVhsv(228, 61%, 92%)
CMYKcmyk(61.3%, 48.9%, 0%, 7.8%)
CIE-LABlab(53.66, 24.42, -61.41)
CIE-LCHlch(53.66, 66.09, 291.68°)
OKLaboklab(60.95% -0.0004 -0.1758)
OKLCHoklch(60.95% 0.176 269.9)
XYZxyz(26.0212, 21.6530, 81.3893)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78EB #EBCE5B
analogous
#5BC0EB #5B78EB #865BEB
triadic
#5B78EB #EB5B78 #78EB5B
tetradic
#5B78EB #EB5BC0 #EBCE5B #5BEB86
square
#5B78EB #EB5BC0 #EBCE5B #5BEB86
split-complementary
#5B78EB #EB865B #C0EB5B
monochromatic
#1636B5 #244BE4 #5B78EB #92A5F2 #C8D2F8

Accessibility & contrast

On white

3.94
#5B78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5B78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78EB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78EB#FFFFFF#000000##000000
##5B78EB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#1B7AE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b78eb;
/* rgb */ color: rgb(91, 120, 235);
/* oklch */ color: oklch(61.0% 0.176 269.9);
Tailwind
colors: {
  custom: {
    50: '#969ef2',
    500: '#5b78eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b78eb;
$custom-light: #969ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78eb",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 227.917,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60953,
    "c": 0.17579,
    "h": 269.9
  },
  "luminance": 0.21655
}

Semantic roles & 50–950 ramp

primary
#5B78EB
secondary
#EAE0B8
accent
#B10BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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