#5D78F8#5D78F8

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

Color values

HEX#5D78F8
RGBrgb(93, 120, 248)
HSLhsl(230, 92%, 67%)
HSVhsv(230, 63%, 97%)
CMYKcmyk(62.5%, 51.6%, 0%, 2.7%)
CIE-LABlab(54.59, 29.09, -67.13)
CIE-LCHlch(54.59, 73.16, 293.43°)
OKLaboklab(61.95% 0.0028 -0.1926)
OKLCHoklch(61.95% 0.193 270.8)
XYZxyz(28.1683, 22.5350, 91.6540)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78F8 #F8DD5D
analogous
#5DC6F8 #5D78F8 #8F5DF8
triadic
#5D78F8 #F85D78 #78F85D
tetradic
#5D78F8 #F85DC6 #F8DD5D #5DF88F
square
#5D78F8 #F85DC6 #F8DD5D #5DF88F
split-complementary
#5D78F8 #F88F5D #C6F85D
monochromatic
#092CD2 #2247F5 #5D78F8 #98A9FB #D2DAFD

Accessibility & contrast

On white

3.81
#5D78F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5D78F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78F8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78F8#FFFFFF#000000##000000
##5D78F81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d78f8;
/* rgb */ color: rgb(93, 120, 248);
/* oklch */ color: oklch(62.0% 0.193 270.8);
Tailwind
colors: {
  custom: {
    50: '#999efb',
    500: '#5d78f8',
    950: '#000000',
  },
}
SCSS
$custom: #5d78f8;
$custom-light: #999efb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78f8",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 229.548,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61951,
    "c": 0.1926,
    "h": 270.8
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

primary
#5D78F8
secondary
#F1E9C0
accent
#BE00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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