#5B78EA#5B78EA

#5B78EA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.9% C 0.174 H 269.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5B78EA
RGBrgb(91, 120, 234)
HSLhsl(228, 77%, 64%)
HSVhsv(228, 61%, 92%)
CMYKcmyk(61.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.60, 24.08, -60.95)
CIE-LCHlch(53.60, 65.54, 291.56°)
OKLaboklab(60.89% -0.0005 -0.1744)
OKLCHoklch(60.89% 0.174 269.8)
XYZxyz(25.8771, 21.5954, 80.6306)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78EA #EACD5B
analogous
#5BBFEA #5B78EA #855BEA
triadic
#5B78EA #EA5B78 #78EA5B
tetradic
#5B78EA #EA5BBF #EACD5B #5BEA85
square
#5B78EA #EA5BBF #EACD5B #5BEA85
split-complementary
#5B78EA #EA855B #BFEA5B
monochromatic
#1737B4 #254BE3 #5B78EA #91A5F1 #C8D1F8

Accessibility & contrast

On white

3.95
#5B78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5B78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78EA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78EA#FFFFFF#000000##000000
##5B78EA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#1D7AE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b78ea;
/* rgb */ color: rgb(91, 120, 234);
/* oklch */ color: oklch(60.9% 0.174 269.8);
Tailwind
colors: {
  custom: {
    50: '#969ef1',
    500: '#5b78ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b78ea;
$custom-light: #969ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78ea",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 227.832,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60886,
    "c": 0.17444,
    "h": 269.8
  },
  "luminance": 0.21598
}

Semantic roles & 50–950 ramp

primary
#5B78EA
secondary
#EADFB7
accent
#B00CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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