#5B78F5#5B78F5

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

Color values

HEX#5B78F5
RGBrgb(91, 120, 245)
HSLhsl(229, 89%, 66%)
HSVhsv(229, 63%, 96%)
CMYKcmyk(62.9%, 51%, 0%, 3.9%)
CIE-LABlab(54.29, 27.76, -65.96)
CIE-LCHlch(54.29, 71.57, 292.82°)
OKLaboklab(61.63% 0.0006 -0.1892)
OKLCHoklch(61.63% 0.189 270.2)
XYZxyz(27.5067, 22.2472, 89.2131)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78F5 #F5D85B
analogous
#5BC5F5 #5B78F5 #8B5BF5
triadic
#5B78F5 #F55B78 #78F55B
tetradic
#5B78F5 #F55BC5 #F5D85B #5BF58B
square
#5B78F5 #F55BC5 #F5D85B #5BF58B
split-complementary
#5B78F5 #F58B5B #C5F55B
monochromatic
#0C30C9 #2149F1 #5B78F5 #95A7F9 #CED7FC

Accessibility & contrast

On white

3.85
#5B78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B78F5#FFFFFF#000000##000000
##5B78F51.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89F9
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b78f5;
/* rgb */ color: rgb(91, 120, 245);
/* oklch */ color: oklch(61.6% 0.189 270.2);
Tailwind
colors: {
  custom: {
    50: '#979ef9',
    500: '#5b78f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b78f5;
$custom-light: #979ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78f5",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 228.701,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61633,
    "c": 0.18918,
    "h": 270.2
  },
  "luminance": 0.2225
}

Semantic roles & 50–950 ramp

primary
#5B78F5
secondary
#EFE6BC
accent
#BA00E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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