#5B78EE#5B78EE

#5B78EE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.2% C 0.180 H 270.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5B78EE
RGBrgb(91, 120, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(61.8%, 49.6%, 0%, 6.7%)
CIE-LABlab(53.84, 25.42, -62.78)
CIE-LCHlch(53.84, 67.73, 292.04°)
OKLaboklab(61.15% -0.0001 -0.1798)
OKLCHoklch(61.15% 0.18 270)
XYZxyz(26.4583, 21.8279, 83.6912)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78EE #EED15B
analogous
#5BC2EE #5B78EE #885BEE
triadic
#5B78EE #EE5B78 #78EE5B
tetradic
#5B78EE #EE5BC2 #EED15B #5BEE88
square
#5B78EE #EE5BC2 #EED15B #5BEE88
split-complementary
#5B78EE #EE885B #C2EE5B
monochromatic
#1335BB #244AE8 #5B78EE #92A6F4 #CAD3F9

Accessibility & contrast

On white

3.91
#5B78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5B78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78EE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78EE#FFFFFF#000000##000000
##5B78EE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F2
Deuteranopia (green-blind)
#107AEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b78ee;
/* rgb */ color: rgb(91, 120, 238);
/* oklch */ color: oklch(61.2% 0.180 270.0);
Tailwind
colors: {
  custom: {
    50: '#969ef4',
    500: '#5b78ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b78ee;
$custom-light: #969ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78ee",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 228.163,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.17983,
    "h": 270
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#5B78EE
secondary
#ECE2B9
accent
#B308DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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