#5B78F6#5B78F6

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

Color values

HEX#5B78F6
RGBrgb(91, 120, 246)
HSLhsl(229, 90%, 66%)
HSVhsv(229, 63%, 96%)
CMYKcmyk(63%, 51.2%, 0%, 3.5%)
CIE-LABlab(54.35, 28.09, -66.41)
CIE-LCHlch(54.35, 72.11, 292.93°)
OKLaboklab(61.7% 0.0007 -0.1905)
OKLCHoklch(61.7% 0.191 270.2)
XYZxyz(27.6598, 22.3085, 90.0192)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78F6 #F6D95B
analogous
#5BC5F6 #5B78F6 #8B5BF6
triadic
#5B78F6 #F65B78 #78F65B
tetradic
#5B78F6 #F65BC5 #F6D95B #5BF68B
square
#5B78F6 #F65BC5 #F6D95B #5BF68B
split-complementary
#5B78F6 #F68B5B #C5F65B
monochromatic
#0B2FCB #2148F3 #5B78F6 #95A8F9 #CFD8FC

Accessibility & contrast

On white

3.84
#5B78F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5B78F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78F6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78F6#FFFFFF#000000##000000
##5B78F61.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FA
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#0095AC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b78f6;
/* rgb */ color: rgb(91, 120, 246);
/* oklch */ color: oklch(61.7% 0.191 270.2);
Tailwind
colors: {
  custom: {
    50: '#989efa',
    500: '#5b78f6',
    950: '#000000',
  },
}
SCSS
$custom: #5b78f6;
$custom-light: #989efa;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78f6",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 228.774,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.19051,
    "h": 270.2
  },
  "luminance": 0.22311
}

Semantic roles & 50–950 ramp

primary
#5B78F6
secondary
#F0E6BD
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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