#4A78CF#4A78CF

#4A78CF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.143 H 261.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4A78CF
RGBrgb(74, 120, 207)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 64%, 81%)
CMYKcmyk(64.3%, 42%, 0%, 18.8%)
CIE-LABlab(51.14, 11.90, -49.71)
CIE-LCHlch(51.14, 51.11, 283.46°)
OKLaboklab(58.26% -0.0201 -0.1417)
OKLCHoklch(58.26% 0.143 261.9)
XYZxyz(20.7990, 19.3918, 61.6663)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78CF #CFA14A
analogous
#4ABBCF #4A78CF #5E4ACF
triadic
#4A78CF #CF4A78 #78CF4A
tetradic
#4A78CF #CF4ABB #CFA14A #4ACF5E
square
#4A78CF #CF4ABB #CFA14A #4ACF5E
split-complementary
#4A78CF #CF5E4A #BBCF4A
monochromatic
#21417D #2E5AAE #4A78CF #7A9CDC #ABC0E9

Accessibility & contrast

On white

4.30
#4A78CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4A78CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78CF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78CF#FFFFFF#000000##000000
##4A78CF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D2
Deuteranopia (green-blind)
#3C74CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a78cf;
/* rgb */ color: rgb(74, 120, 207);
/* oklch */ color: oklch(58.3% 0.143 261.9);
Tailwind
colors: {
  custom: {
    50: '#899ede',
    500: '#4a78cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a78cf;
$custom-light: #899ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78cf",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 219.248,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.14315,
    "h": 261.9
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#4A78CF
secondary
#D6C39F
accent
#AC46E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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