#4A78C8#4A78C8

#4A78C8 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.8% C 0.134 H 260.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4A78C8
RGBrgb(74, 120, 200)
HSLhsl(218, 53%, 54%)
HSVhsv(218, 63%, 78%)
CMYKcmyk(63%, 40%, 0%, 21.6%)
CIE-LABlab(50.75, 9.48, -46.34)
CIE-LCHlch(50.75, 47.30, 281.56°)
OKLaboklab(57.84% -0.0215 -0.1318)
OKLCHoklch(57.84% 0.134 260.7)
XYZxyz(19.9622, 19.0571, 57.2588)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78C8 #C89A4A
analogous
#4AB7C8 #4A78C8 #5B4AC8
triadic
#4A78C8 #C84A78 #78C84A
tetradic
#4A78C8 #C84AB7 #C89A4A #4AC85B
square
#4A78C8 #C84AB7 #C89A4A #4AC85B
split-complementary
#4A78C8 #C85B4A #B7C84A
monochromatic
#234174 #325BA3 #4A78C8 #799BD6 #A8BEE5

Accessibility & contrast

On white

4.36
#4A78C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4A78C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78C8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78C8#FFFFFF#000000##000000
##4A78C81.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a78c8;
/* rgb */ color: rgb(74, 120, 200);
/* oklch */ color: oklch(57.8% 0.134 260.7);
Tailwind
colors: {
  custom: {
    50: '#889ed9',
    500: '#4a78c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a78c8;
$custom-light: #889ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78c8",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 218.095,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57836,
    "c": 0.13358,
    "h": 260.7
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#4A78C8
secondary
#D2BE9C
accent
#A84BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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