#5A78CA#5A78CA

#5A78CA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.131 H 267.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5A78CA
RGBrgb(90, 120, 202)
HSLhsl(224, 51%, 57%)
HSVhsv(224, 55%, 79%)
CMYKcmyk(55.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.69, 13.31, -45.94)
CIE-LCHlch(51.69, 47.83, 286.16°)
OKLaboklab(58.82% -0.0064 -0.1304)
OKLCHoklch(58.82% 0.131 267.2)
XYZxyz(21.5900, 19.8692, 58.5631)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A78CA #CAAC5A
analogous
#5AB0CA #5A78CA #745ACA
triadic
#5A78CA #CA5A78 #78CA5A
tetradic
#5A78CA #CA5AB0 #CAAC5A #5ACA74
square
#5A78CA #CA5AB0 #CAAC5A #5ACA74
split-complementary
#5A78CA #CA745A #B0CA5A
monochromatic
#294180 #3858AF #5A78CA #889ED9 #B7C4E8

Accessibility & contrast

On white

4.22
#5A78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5A78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A78CA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A78CA#FFFFFF#000000##000000
##5A78CA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a78ca;
/* rgb */ color: rgb(90, 120, 202);
/* oklch */ color: oklch(58.8% 0.131 267.2);
Tailwind
colors: {
  custom: {
    50: '#909eda',
    500: '#5a78ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a78ca;
$custom-light: #909eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a78ca",
  "rgb": {
    "r": 90,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 223.929,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58816,
    "c": 0.13055,
    "h": 267.2
  },
  "luminance": 0.19871
}

Semantic roles & 50–950 ramp

primary
#5A78CA
secondary
#D7CAA9
accent
#B54DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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