#4A78BC#4A78BC

#4A78BC is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.1% C 0.117 H 258.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4A78BC
RGBrgb(74, 120, 188)
HSLhsl(216, 46%, 51%)
HSVhsv(216, 61%, 74%)
CMYKcmyk(60.6%, 36.2%, 0%, 26.3%)
CIE-LABlab(50.12, 5.37, -40.47)
CIE-LCHlch(50.12, 40.82, 277.56°)
OKLaboklab(57.14% -0.0243 -0.1147)
OKLCHoklch(57.14% 0.117 258)
XYZxyz(18.6144, 18.5180, 50.1606)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78BC #BC8E4A
analogous
#4AB1BC #4A78BC #554ABC
triadic
#4A78BC #BC4A78 #78BC4A
tetradic
#4A78BC #BC4AB1 #BC8E4A #4ABC55
square
#4A78BC #BC4AB1 #BC8E4A #4ABC55
split-complementary
#4A78BC #BC554A #B1BC4A
monochromatic
#264066 #365B93 #4A78BC #7799CD #A3BBDD

Accessibility & contrast

On white

4.46
#4A78BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4A78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78BC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78BC#FFFFFF#000000##000000
##4A78BC1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#4C72BB
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a78bc;
/* rgb */ color: rgb(74, 120, 188);
/* oklch */ color: oklch(57.1% 0.117 258.0);
Tailwind
colors: {
  custom: {
    50: '#869ed0',
    500: '#4a78bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a78bc;
$custom-light: #869ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78bc",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 215.789,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.11721,
    "h": 258
  },
  "luminance": 0.1852
}

Semantic roles & 50–950 ramp

primary
#4A78BC
secondary
#CAB698
accent
#A152D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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