#5A78CD#5A78CD

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

Color values

HEX#5A78CD
RGBrgb(90, 120, 205)
HSLhsl(224, 53%, 58%)
HSVhsv(224, 56%, 80%)
CMYKcmyk(56.1%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.85, 14.29, -47.39)
CIE-LCHlch(51.85, 49.50, 286.78°)
OKLaboklab(58.99% -0.0058 -0.1346)
OKLCHoklch(58.99% 0.135 267.5)
XYZxyz(21.9487, 20.0127, 60.4520)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A78CD #CDAF5A
analogous
#5AB1CD #5A78CD #765ACD
triadic
#5A78CD #CD5A78 #78CD5A
tetradic
#5A78CD #CD5AB1 #CDAF5A #5ACD76
square
#5A78CD #CD5AB1 #CDAF5A #5ACD76
split-complementary
#5A78CD #CD765A #B1CD5A
monochromatic
#284084 #3657B3 #5A78CD #899EDB #B8C5E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A78CD#FFFFFF#000000##000000
##5A78CD1.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)
#5481D0
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#0F8B98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a78cd;
/* rgb */ color: rgb(90, 120, 205);
/* oklch */ color: oklch(59.0% 0.135 267.5);
Tailwind
colors: {
  custom: {
    50: '#919edd',
    500: '#5a78cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a78cd;
$custom-light: #919edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a78cd",
  "rgb": {
    "r": 90,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 224.348,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.13476,
    "h": 267.5
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#5A78CD
secondary
#D8CCAA
accent
#B74BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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