#5D78DC#5D78DC

#5D78DC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.155 H 269.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5D78DC
RGBrgb(93, 120, 220)
HSLhsl(227, 64%, 61%)
HSVhsv(227, 58%, 86%)
CMYKcmyk(57.7%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.87, 19.82, -54.26)
CIE-LCHlch(52.87, 57.76, 290.07°)
OKLaboklab(60.09% -0.0003 -0.1547)
OKLCHoklch(60.09% 0.155 269.9)
XYZxyz(24.1446, 20.9255, 70.4630)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78DC #DCC15D
analogous
#5DB8DC #5D78DC #825DDC
triadic
#5D78DC #DC5D78 #78DC5D
tetradic
#5D78DC #DC5DB8 #DCC15D #5DDC82
square
#5D78DC #DC5DB8 #DCC15D #5DDC82
split-complementary
#5D78DC #DC825D #B8DC5D
monochromatic
#223C9D #2D4FCF #5D78DC #8FA2E7 #C2CCF2

Accessibility & contrast

On white

4.05
#5D78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5D78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78DC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78DC#FFFFFF#000000##000000
##5D78DC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d78dc;
/* rgb */ color: rgb(93, 120, 220);
/* oklch */ color: oklch(60.1% 0.155 269.9);
Tailwind
colors: {
  custom: {
    50: '#959ee7',
    500: '#5d78dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d78dc;
$custom-light: #959ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78dc",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 227.244,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.15471,
    "h": 269.9
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#5D78DC
secondary
#E2D8B3
accent
#A619CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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