#5D78F4#5D78F4

#5D78F4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.7% C 0.187 H 270.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5D78F4
RGBrgb(93, 120, 244)
HSLhsl(229, 87%, 66%)
HSVhsv(229, 62%, 96%)
CMYKcmyk(61.9%, 50.8%, 0%, 4.3%)
CIE-LABlab(54.33, 27.76, -65.33)
CIE-LCHlch(54.33, 70.98, 293.02°)
OKLaboklab(61.68% 0.0024 -0.1873)
OKLCHoklch(61.68% 0.187 270.7)
XYZxyz(27.5543, 22.2894, 88.4206)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78F4 #F4D95D
analogous
#5DC3F4 #5D78F4 #8D5DF4
triadic
#5D78F4 #F45D78 #78F45D
tetradic
#5D78F4 #F45DC3 #F4D95D #5DF48D
square
#5D78F4 #F45DC3 #F4D95D #5DF48D
split-complementary
#5D78F4 #F48D5D #C3F45D
monochromatic
#0E2FC9 #2448F0 #5D78F4 #96A8F8 #D0D8FC

Accessibility & contrast

On white

3.85
#5D78F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5D78F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78F4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78F4#FFFFFF#000000##000000
##5D78F41.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3089F8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d78f4;
/* rgb */ color: rgb(93, 120, 244);
/* oklch */ color: oklch(61.7% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#989ef8',
    500: '#5d78f4',
    950: '#000000',
  },
}
SCSS
$custom: #5d78f4;
$custom-light: #989ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78f4",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 229.272,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.1873,
    "h": 270.7
  },
  "luminance": 0.22292
}

Semantic roles & 50–950 ramp

primary
#5D78F4
secondary
#EFE6BE
accent
#BB02E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D78F4

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

Preview Lab → · Contrast checker → · Palette generator →

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