#5D78EF#5D78EF

#5D78EF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.181 H 270.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5D78EF
RGBrgb(93, 120, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 61%, 94%)
CMYKcmyk(61.1%, 49.8%, 0%, 6.3%)
CIE-LABlab(54.02, 26.10, -63.06)
CIE-LCHlch(54.02, 68.25, 292.48°)
OKLaboklab(61.33% 0.002 -0.1806)
OKLCHoklch(61.33% 0.181 270.6)
XYZxyz(26.8054, 21.9898, 84.4765)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78EF #EFD45D
analogous
#5DC1EF #5D78EF #8B5DEF
triadic
#5D78EF #EF5D78 #78EF5D
tetradic
#5D78EF #EF5DC1 #EFD45D #5DEF8B
square
#5D78EF #EF5DC1 #EFD45D #5DEF8B
split-complementary
#5D78EF #EF8B5D #C1EF5D
monochromatic
#1333BF #254AE9 #5D78EF #95A6F5 #CCD5FA

Accessibility & contrast

On white

3.89
#5D78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5D78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78EF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78EF#FFFFFF#000000##000000
##5D78EF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#107BED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d78ef;
/* rgb */ color: rgb(93, 120, 239);
/* oklch */ color: oklch(61.3% 0.181 270.6);
Tailwind
colors: {
  custom: {
    50: '#979ef5',
    500: '#5d78ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d78ef;
$custom-light: #979ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78ef",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 228.904,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61334,
    "c": 0.1806,
    "h": 270.6
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#5D78EF
secondary
#EDE3BB
accent
#B707DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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