#5B78CA#5B78CA

#5B78CA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.130 H 267.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5B78CA
RGBrgb(91, 120, 202)
HSLhsl(224, 51%, 57%)
HSVhsv(224, 55%, 79%)
CMYKcmyk(55%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.75, 13.53, -45.85)
CIE-LCHlch(51.75, 47.80, 286.44°)
OKLaboklab(58.88% -0.0054 -0.1301)
OKLCHoklch(58.88% 0.13 267.6)
XYZxyz(21.6880, 19.9197, 58.5677)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78CA #CAAD5B
analogous
#5BB0CA #5B78CA #755BCA
triadic
#5B78CA #CA5B78 #78CA5B
tetradic
#5B78CA #CA5BB0 #CAAD5B #5BCA75
square
#5B78CA #CA5BB0 #CAAD5B #5BCA75
split-complementary
#5B78CA #CA755B #B0CA5B
monochromatic
#2A4081 #3958AF #5B78CA #899ED9 #B8C4E8

Accessibility & contrast

On white

4.21
#5B78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5B78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78CA#FFFFFF#000000##000000
##5B78CA1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#1C8A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b78ca;
/* rgb */ color: rgb(91, 120, 202);
/* oklch */ color: oklch(58.9% 0.130 267.6);
Tailwind
colors: {
  custom: {
    50: '#919eda',
    500: '#5b78ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b78ca;
$custom-light: #919eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78ca",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 224.324,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58875,
    "c": 0.1302,
    "h": 267.6
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#5B78CA
secondary
#D7CBAA
accent
#B64DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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