#5B78CD#5B78CD

#5B78CD is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.134 H 267.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5B78CD
RGBrgb(91, 120, 205)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(55.6%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.91, 14.50, -47.30)
CIE-LCHlch(51.91, 49.47, 287.05°)
OKLaboklab(59.05% -0.0048 -0.1343)
OKLCHoklch(59.05% 0.134 267.9)
XYZxyz(22.0466, 20.0632, 60.4566)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78CD #CDB05B
analogous
#5BB1CD #5B78CD #775BCD
triadic
#5B78CD #CD5B78 #78CD5B
tetradic
#5B78CD #CD5BB1 #CDB05B #5BCD77
square
#5B78CD #CD5BB1 #CDB05B #5BCD77
split-complementary
#5B78CD #CD775B #B1CD5B
monochromatic
#294085 #3757B4 #5B78CD #8A9FDB #B9C5EA

Accessibility & contrast

On white

4.19
#5B78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5B78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78CD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78CD#FFFFFF#000000##000000
##5B78CD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#168B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b78cd;
/* rgb */ color: rgb(91, 120, 205);
/* oklch */ color: oklch(59.1% 0.134 267.9);
Tailwind
colors: {
  custom: {
    50: '#919edd',
    500: '#5b78cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b78cd;
$custom-light: #919edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78cd",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 224.737,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.13443,
    "h": 267.9
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

primary
#5B78CD
secondary
#D9CDAB
accent
#B84BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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