#5B78DF#5B78DF

#5B78DF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.159 H 269.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5B78DF
RGBrgb(91, 120, 223)
HSLhsl(227, 67%, 62%)
HSVhsv(227, 59%, 87%)
CMYKcmyk(59.2%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.93, 20.42, -55.85)
CIE-LCHlch(52.93, 59.47, 290.09°)
OKLaboklab(60.17% -0.0019 -0.1594)
OKLCHoklch(60.17% 0.159 269.3)
XYZxyz(24.3457, 20.9828, 72.5649)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78DF #DFC25B
analogous
#5BBADF #5B78DF #805BDF
triadic
#5B78DF #DF5B78 #78DF5B
tetradic
#5B78DF #DF5BBA #DFC25B #5BDF80
square
#5B78DF #DF5BBA #DFC25B #5BDF80
split-complementary
#5B78DF #DF805B #BADF5B
monochromatic
#1F3CA0 #294FD4 #5B78DF #8EA2E9 #C1CCF3

Accessibility & contrast

On white

4.04
#5B78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5B78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78DF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78DF#FFFFFF#000000##000000
##5B78DF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#3279DD
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b78df;
/* rgb */ color: rgb(91, 120, 223);
/* oklch */ color: oklch(60.2% 0.159 269.3);
Tailwind
colors: {
  custom: {
    50: '#949ee9',
    500: '#5b78df',
    950: '#000000',
  },
}
SCSS
$custom: #5b78df;
$custom-light: #949ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78df",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 226.818,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60166,
    "c": 0.15945,
    "h": 269.3
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#5B78DF
secondary
#E3D9B2
accent
#A716CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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