#5B78DC#5B78DC

#5B78DC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.155 H 269.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5B78DC
RGBrgb(91, 120, 220)
HSLhsl(227, 65%, 61%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(58.6%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.75, 19.43, -54.44)
CIE-LCHlch(52.75, 57.81, 289.64°)
OKLaboklab(59.98% -0.0023 -0.1553)
OKLCHoklch(59.98% 0.155 269.2)
XYZxyz(23.9448, 20.8225, 70.4536)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78DC #DCBF5B
analogous
#5BB8DC #5B78DC #7E5BDC
triadic
#5B78DC #DC5B78 #78DC5B
tetradic
#5B78DC #DC5BB8 #DCBF5B #5BDC7E
square
#5B78DC #DC5BB8 #DCBF5B #5BDC7E
split-complementary
#5B78DC #DC7E5B #B8DC5B
monochromatic
#213D9B #2C50CE #5B78DC #8DA2E7 #C0CBF2

Accessibility & contrast

On white

4.07
#5B78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5B78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78DC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78DC#FFFFFF#000000##000000
##5B78DC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#3679DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b78dc;
/* rgb */ color: rgb(91, 120, 220);
/* oklch */ color: oklch(60.0% 0.155 269.2);
Tailwind
colors: {
  custom: {
    50: '#949ee7',
    500: '#5b78dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b78dc;
$custom-light: #949ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78dc",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 226.512,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.15533,
    "h": 269.2
  },
  "luminance": 0.20824
}

Semantic roles & 50–950 ramp

primary
#5B78DC
secondary
#E2D7B1
accent
#A419CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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