#4F78BD#4F78BD

#4F78BD is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.4% C 0.117 H 260.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4F78BD
RGBrgb(79, 120, 189)
HSLhsl(218, 45%, 53%)
HSVhsv(218, 58%, 74%)
CMYKcmyk(58.2%, 36.5%, 0%, 25.9%)
CIE-LABlab(50.41, 6.71, -40.56)
CIE-LCHlch(50.41, 41.11, 279.40°)
OKLaboklab(57.45% -0.0196 -0.1148)
OKLCHoklch(57.45% 0.117 260.3)
XYZxyz(19.1230, 18.7677, 50.7490)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78BD #BD944F
analogous
#4FAFBD #4F78BD #5D4FBD
triadic
#4F78BD #BD4F78 #78BD4F
tetradic
#4F78BD #BD4FAF #BD944F #4FBD5D
square
#4F78BD #BD4FAF #BD944F #4FBD5D
split-complementary
#4F78BD #BD5D4F #AFBD4F
monochromatic
#28406A #385B96 #4F78BD #7C9ACE #A8BCDE

Accessibility & contrast

On white

4.42
#4F78BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4F78BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78BD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78BD#FFFFFF#000000##000000
##4F78BD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC0
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f78bd;
/* rgb */ color: rgb(79, 120, 189);
/* oklch */ color: oklch(57.4% 0.117 260.3);
Tailwind
colors: {
  custom: {
    50: '#899ed1',
    500: '#4f78bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f78bd;
$custom-light: #899ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78bd",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 217.636,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.11652,
    "h": 260.3
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#4F78BD
secondary
#CCBA9C
accent
#A553D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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