#5D78F2#5D78F2

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

Color values

HEX#5D78F2
RGBrgb(93, 120, 242)
HSLhsl(229, 85%, 66%)
HSVhsv(229, 62%, 95%)
CMYKcmyk(61.6%, 50.4%, 0%, 5.1%)
CIE-LABlab(54.21, 27.09, -64.42)
CIE-LCHlch(54.21, 69.89, 292.81°)
OKLaboklab(61.54% 0.0023 -0.1846)
OKLCHoklch(61.54% 0.185 270.7)
XYZxyz(27.2523, 22.1686, 86.8300)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78F2 #F2D75D
analogous
#5DC2F2 #5D78F2 #8D5DF2
triadic
#5D78F2 #F25D78 #78F25D
tetradic
#5D78F2 #F25DC2 #F2D75D #5DF28D
square
#5D78F2 #F25DC2 #F2D75D #5DF28D
split-complementary
#5D78F2 #F28D5D #C2F25D
monochromatic
#1031C5 #2449ED #5D78F2 #96A7F7 #CED6FB

Accessibility & contrast

On white

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

On black

5.43
#5D78F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78F2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78F2#FFFFFF#000000##000000
##5D78F21.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3289F6
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d78f2;
/* rgb */ color: rgb(93, 120, 242);
/* oklch */ color: oklch(61.5% 0.185 270.7);
Tailwind
colors: {
  custom: {
    50: '#989ef7',
    500: '#5d78f2',
    950: '#000000',
  },
}
SCSS
$custom: #5d78f2;
$custom-light: #989ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78f2",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 229.128,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61538,
    "c": 0.18462,
    "h": 270.7
  },
  "luminance": 0.22171
}

Semantic roles & 50–950 ramp

primary
#5D78F2
secondary
#EEE5BD
accent
#B904E2
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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