#5D78ED#5D78ED

#5D78ED is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.178 H 270.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5D78ED
RGBrgb(93, 120, 237)
HSLhsl(229, 80%, 65%)
HSVhsv(229, 61%, 93%)
CMYKcmyk(60.8%, 49.4%, 0%, 7.1%)
CIE-LABlab(53.89, 25.43, -62.14)
CIE-LCHlch(53.89, 67.15, 292.26°)
OKLaboklab(61.2% 0.0018 -0.1779)
OKLCHoklch(61.2% 0.178 270.6)
XYZxyz(26.5116, 21.8723, 82.9290)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78ED #EDD25D
analogous
#5DC0ED #5D78ED #8A5DED
triadic
#5D78ED #ED5D78 #78ED5D
tetradic
#5D78ED #ED5DC0 #EDD25D #5DED8A
square
#5D78ED #ED5DC0 #EDD25D #5DED8A
split-complementary
#5D78ED #ED8A5D #C0ED5D
monochromatic
#1534BB #264AE7 #5D78ED #94A6F3 #CBD4F9

Accessibility & contrast

On white

3.91
#5D78ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5D78ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78ED
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78ED#FFFFFF#000000##000000
##5D78ED1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F1
Deuteranopia (green-blind)
#177BEB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d78ed;
/* rgb */ color: rgb(93, 120, 237);
/* oklch */ color: oklch(61.2% 0.178 270.6);
Tailwind
colors: {
  custom: {
    50: '#979ef3',
    500: '#5d78ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d78ed;
$custom-light: #979ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78ed",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 228.75,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.17792,
    "h": 270.6
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#5D78ED
secondary
#ECE2BA
accent
#B509DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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