#5D78F1#5D78F1

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

Color values

HEX#5D78F1
RGBrgb(93, 120, 241)
HSLhsl(229, 84%, 65%)
HSVhsv(229, 61%, 95%)
CMYKcmyk(61.4%, 50.2%, 0%, 5.5%)
CIE-LABlab(54.14, 26.76, -63.97)
CIE-LCHlch(54.14, 69.34, 292.70°)
OKLaboklab(61.47% 0.0022 -0.1833)
OKLCHoklch(61.47% 0.183 270.7)
XYZxyz(27.1025, 22.1087, 86.0412)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78F1 #F1D65D
analogous
#5DC2F1 #5D78F1 #8C5DF1
triadic
#5D78F1 #F15D78 #78F15D
tetradic
#5D78F1 #F15DC2 #F1D65D #5DF18C
square
#5D78F1 #F15DC2 #F1D65D #5DF18C
split-complementary
#5D78F1 #F18C5D #C2F15D
monochromatic
#1131C3 #2549EC #5D78F1 #95A7F6 #CED6FB

Accessibility & contrast

On white

3.87
#5D78F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5D78F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D78F1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D78F1#FFFFFF#000000##000000
##5D78F11.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3488F5
Deuteranopia (green-blind)
#047BEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d78f1;
/* rgb */ color: rgb(93, 120, 241);
/* oklch */ color: oklch(61.5% 0.183 270.7);
Tailwind
colors: {
  custom: {
    50: '#989ef6',
    500: '#5d78f1',
    950: '#000000',
  },
}
SCSS
$custom: #5d78f1;
$custom-light: #989ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78f1",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 241
  },
  "hsl": {
    "h": 229.054,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.18328,
    "h": 270.7
  },
  "luminance": 0.22111
}

Semantic roles & 50–950 ramp

primary
#5D78F1
secondary
#EEE5BC
accent
#B805E1
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D78F1

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

Preview Lab → · Contrast checker → · Palette generator →

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