#4A78CA#4A78CA

#4A78CA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.136 H 261.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4A78CA
RGBrgb(74, 120, 202)
HSLhsl(218, 55%, 54%)
HSVhsv(218, 63%, 79%)
CMYKcmyk(63.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(50.86, 10.16, -47.31)
CIE-LCHlch(50.86, 48.39, 282.13°)
OKLaboklab(57.96% -0.0211 -0.1347)
OKLCHoklch(57.96% 0.136 261.1)
XYZxyz(20.1974, 19.1512, 58.4978)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78CA #CA9C4A
analogous
#4AB8CA #4A78CA #5C4ACA
triadic
#4A78CA #CA4A78 #78CA4A
tetradic
#4A78CA #CA4AB8 #CA9C4A #4ACA5C
square
#4A78CA #CA4AB8 #CA9C4A #4ACA5C
split-complementary
#4A78CA #CA5C4A #B8CA4A
monochromatic
#234177 #315BA6 #4A78CA #799BD8 #A9BFE6

Accessibility & contrast

On white

4.35
#4A78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4A78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78CA#FFFFFF#000000##000000
##4A78CA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CD
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a78ca;
/* rgb */ color: rgb(74, 120, 202);
/* oklch */ color: oklch(58.0% 0.136 261.1);
Tailwind
colors: {
  custom: {
    50: '#889eda',
    500: '#4a78ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a78ca;
$custom-light: #889eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78ca",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 218.438,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57957,
    "c": 0.13632,
    "h": 261.1
  },
  "luminance": 0.19153
}

Semantic roles & 50–950 ramp

primary
#4A78CA
secondary
#D3C09D
accent
#A94ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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