#4F78BC#4F78BC

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

Color values

HEX#4F78BC
RGBrgb(79, 120, 188)
HSLhsl(217, 45%, 52%)
HSVhsv(217, 58%, 74%)
CMYKcmyk(58%, 36.2%, 0%, 26.3%)
CIE-LABlab(50.36, 6.38, -40.06)
CIE-LCHlch(50.36, 40.57, 279.05°)
OKLaboklab(57.39% -0.0199 -0.1134)
OKLCHoklch(57.39% 0.115 260)
XYZxyz(19.0149, 18.7245, 50.1793)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78BC #BC934F
analogous
#4FAFBC #4F78BC #5C4FBC
triadic
#4F78BC #BC4F78 #78BC4F
tetradic
#4F78BC #BC4FAF #BC934F #4FBC5C
square
#4F78BC #BC4FAF #BC934F #4FBC5C
split-complementary
#4F78BC #BC5C4F #AFBC4F
monochromatic
#284069 #395B95 #4F78BC #7B9ACD #A8BCDE

Accessibility & contrast

On white

4.43
#4F78BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F78BC#FFFFFF#000000##000000
##4F78BC1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f78bc;
/* rgb */ color: rgb(79, 120, 188);
/* oklch */ color: oklch(57.4% 0.115 260.0);
Tailwind
colors: {
  custom: {
    50: '#899ed0',
    500: '#4f78bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f78bc;
$custom-light: #899ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78bc",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 217.431,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57392,
    "c": 0.11513,
    "h": 260
  },
  "luminance": 0.18726
}

Semantic roles & 50–950 ramp

primary
#4F78BC
secondary
#CBB99C
accent
#A453D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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