#4A78CD#4A78CD

#4A78CD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.140 H 261.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4A78CD
RGBrgb(74, 120, 205)
HSLhsl(219, 57%, 55%)
HSVhsv(219, 64%, 80%)
CMYKcmyk(63.9%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.03, 11.20, -48.75)
CIE-LCHlch(51.03, 50.02, 282.94°)
OKLaboklab(58.14% -0.0205 -0.1389)
OKLCHoklch(58.14% 0.14 261.6)
XYZxyz(20.5561, 19.2946, 60.3867)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78CD #CD9F4A
analogous
#4ABACD #4A78CD #5D4ACD
triadic
#4A78CD #CD4A78 #78CD4A
tetradic
#4A78CD #CD4ABA #CD9F4A #4ACD5D
square
#4A78CD #CD4ABA #CD9F4A #4ACD5D
split-complementary
#4A78CD #CD5D4A #BACD4A
monochromatic
#22417B #2F5BAB #4A78CD #7A9CDA #AAC0E7

Accessibility & contrast

On white

4.32
#4A78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4A78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78CD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78CD#FFFFFF#000000##000000
##4A78CD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a78cd;
/* rgb */ color: rgb(74, 120, 205);
/* oklch */ color: oklch(58.1% 0.140 261.6);
Tailwind
colors: {
  custom: {
    50: '#899edd',
    500: '#4a78cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a78cd;
$custom-light: #899edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78cd",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 218.931,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5814,
    "c": 0.14041,
    "h": 261.6
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#4A78CD
secondary
#D5C29E
accent
#AB48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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