#5D78F7#5D78F7

#5D78F7 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.191 H 270.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5D78F7
RGBrgb(93, 120, 247)
HSLhsl(229, 91%, 67%)
HSVhsv(229, 62%, 97%)
CMYKcmyk(62.3%, 51.4%, 0%, 3.1%)
CIE-LABlab(54.53, 28.76, -66.68)
CIE-LCHlch(54.53, 72.62, 293.33°)
OKLaboklab(61.88% 0.0027 -0.1913)
OKLCHoklch(61.88% 0.191 270.8)
XYZxyz(28.0135, 22.4731, 90.8391)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78F7 #F7DC5D
analogous
#5DC5F7 #5D78F7 #8F5DF7
triadic
#5D78F7 #F75D78 #78F75D
tetradic
#5D78F7 #F75DC5 #F7DC5D #5DF78F
square
#5D78F7 #F75DC5 #F7DC5D #5DF78F
split-complementary
#5D78F7 #F78F5D #C5F75D
monochromatic
#0A2DCF #2347F4 #5D78F7 #97A9FA #D2D9FD

Accessibility & contrast

On white

3.82
#5D78F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5D78F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78F7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78F7#FFFFFF#000000##000000
##5D78F71.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFB
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d78f7;
/* rgb */ color: rgb(93, 120, 247);
/* oklch */ color: oklch(61.9% 0.191 270.8);
Tailwind
colors: {
  custom: {
    50: '#999efb',
    500: '#5d78f7',
    950: '#000000',
  },
}
SCSS
$custom: #5d78f7;
$custom-light: #999efb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78f7",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 229.481,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61882,
    "c": 0.19128,
    "h": 270.8
  },
  "luminance": 0.22475
}

Semantic roles & 50–950 ramp

primary
#5D78F7
secondary
#F1E8BF
accent
#BD00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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