#4A78CB#4A78CB

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

Color values

HEX#4A78CB
RGBrgb(74, 120, 203)
HSLhsl(219, 55%, 54%)
HSVhsv(219, 64%, 80%)
CMYKcmyk(63.5%, 40.9%, 0%, 20.4%)
CIE-LABlab(50.92, 10.51, -47.79)
CIE-LCHlch(50.92, 48.93, 282.40°)
OKLaboklab(58.02% -0.0209 -0.1361)
OKLCHoklch(58.02% 0.138 261.3)
XYZxyz(20.3162, 19.1987, 59.1234)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78CB #CB9D4A
analogous
#4AB8CB #4A78CB #5D4ACB
triadic
#4A78CB #CB4A78 #78CB4A
tetradic
#4A78CB #CB4AB8 #CB9D4A #4ACB5D
square
#4A78CB #CB4AB8 #CB9D4A #4ACB5D
split-complementary
#4A78CB #CB5D4A #B8CB4A
monochromatic
#234178 #305BA8 #4A78CB #7A9BD9 #A9BFE6

Accessibility & contrast

On white

4.34
#4A78CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4A78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78CB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78CB#FFFFFF#000000##000000
##4A78CB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a78cb;
/* rgb */ color: rgb(74, 120, 203);
/* oklch */ color: oklch(58.0% 0.138 261.3);
Tailwind
colors: {
  custom: {
    50: '#889edb',
    500: '#4a78cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a78cb;
$custom-light: #889edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78cb",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 218.605,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.13768,
    "h": 261.3
  },
  "luminance": 0.19201
}

Semantic roles & 50–950 ramp

primary
#4A78CB
secondary
#D4C09D
accent
#A949DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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