#5B78CC#5B78CC

#5B78CC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.133 H 267.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5B78CC
RGBrgb(91, 120, 204)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 55%, 80%)
CMYKcmyk(55.4%, 41.2%, 0%, 20%)
CIE-LABlab(51.85, 14.18, -46.82)
CIE-LCHlch(51.85, 48.92, 286.85°)
OKLaboklab(58.99% -0.005 -0.1329)
OKLCHoklch(58.99% 0.133 267.8)
XYZxyz(21.9263, 20.0151, 59.8229)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B78CC #CCAF5B
analogous
#5BB0CC #5B78CC #775BCC
triadic
#5B78CC #CC5B78 #78CC5B
tetradic
#5B78CC #CC5BB0 #CCAF5B #5BCC77
square
#5B78CC #CC5BB0 #CCAF5B #5BCC77
split-complementary
#5B78CC #CC775B #B0CC5B
monochromatic
#294084 #3757B2 #5B78CC #8A9EDB #B8C5E9

Accessibility & contrast

On white

4.20
#5B78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5B78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B78CC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B78CC#FFFFFF#000000##000000
##5B78CC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#188A98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b78cc;
/* rgb */ color: rgb(91, 120, 204);
/* oklch */ color: oklch(59.0% 0.133 267.8);
Tailwind
colors: {
  custom: {
    50: '#919edc',
    500: '#5b78cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b78cc;
$custom-light: #919edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b78cc",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 224.602,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58993,
    "c": 0.13302,
    "h": 267.8
  },
  "luminance": 0.20017
}

Semantic roles & 50–950 ramp

primary
#5B78CC
secondary
#D8CCAB
accent
#B74CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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