#5D78CA#5D78CA

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

Color values

HEX#5D78CA
RGBrgb(93, 120, 202)
HSLhsl(225, 51%, 58%)
HSVhsv(225, 54%, 79%)
CMYKcmyk(54%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.86, 13.96, -45.66)
CIE-LCHlch(51.86, 47.74, 287.00°)
OKLaboklab(59% -0.0034 -0.1295)
OKLCHoklch(59% 0.13 268.5)
XYZxyz(21.8878, 20.0228, 58.5771)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D78CA #CAAF5D
analogous
#5DAECA #5D78CA #795DCA
triadic
#5D78CA #CA5D78 #78CA5D
tetradic
#5D78CA #CA5DAE #CAAF5D #5DCA79
square
#5D78CA #CA5DAE #CAAF5D #5DCA79
split-complementary
#5D78CA #CA795D #AECA5D
monochromatic
#2B4082 #3A57B0 #5D78CA #8B9ED9 #B9C5E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D78CA#FFFFFF#000000##000000
##5D78CA1.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)
#5681CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#248A97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d78ca;
/* rgb */ color: rgb(93, 120, 202);
/* oklch */ color: oklch(59.0% 0.130 268.5);
Tailwind
colors: {
  custom: {
    50: '#929eda',
    500: '#5d78ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d78ca;
$custom-light: #929eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5d78ca",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 225.138,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.12953,
    "h": 268.5
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#5D78CA
secondary
#D7CCAC
accent
#B74EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5D78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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