#5D78F3#5D78F3

#5D78F3 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.6% C 0.186 H 270.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5D78F3
RGBrgb(93, 120, 243)
HSLhsl(229, 86%, 66%)
HSVhsv(229, 62%, 95%)
CMYKcmyk(61.7%, 50.6%, 0%, 4.7%)
CIE-LABlab(54.27, 27.43, -64.88)
CIE-LCHlch(54.27, 70.44, 292.92°)
OKLaboklab(61.61% 0.0024 -0.1859)
OKLCHoklch(61.61% 0.186 270.7)
XYZxyz(27.4029, 22.2288, 87.6231)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78F3 #F3D85D
analogous
#5DC3F3 #5D78F3 #8D5DF3
triadic
#5D78F3 #F35D78 #78F35D
tetradic
#5D78F3 #F35DC3 #F3D85D #5DF38D
square
#5D78F3 #F35DC3 #F3D85D #5DF38D
split-complementary
#5D78F3 #F38D5D #C3F35D
monochromatic
#0F30C7 #2449EF #5D78F3 #96A7F7 #CFD7FB

Accessibility & contrast

On white

3.86
#5D78F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5D78F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78F3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78F3#FFFFFF#000000##000000
##5D78F31.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3189F7
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d78f3;
/* rgb */ color: rgb(93, 120, 243);
/* oklch */ color: oklch(61.6% 0.186 270.7);
Tailwind
colors: {
  custom: {
    50: '#989ef8',
    500: '#5d78f3',
    950: '#000000',
  },
}
SCSS
$custom: #5d78f3;
$custom-light: #989ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78f3",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 229.2,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.18595,
    "h": 270.7
  },
  "luminance": 0.22231
}

Semantic roles & 50–950 ramp

primary
#5D78F3
secondary
#EFE6BD
accent
#BA03E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D78F3

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

Preview Lab → · Contrast checker → · Palette generator →

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