#4F78CF#4F78CF

#4F78CF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.141 H 263.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4F78CF
RGBrgb(79, 120, 207)
HSLhsl(221, 57%, 56%)
HSVhsv(221, 62%, 81%)
CMYKcmyk(61.8%, 42%, 0%, 18.8%)
CIE-LABlab(51.38, 12.79, -49.32)
CIE-LCHlch(51.38, 50.95, 284.54°)
OKLaboklab(58.51% -0.0157 -0.1405)
OKLCHoklch(58.51% 0.141 263.6)
XYZxyz(21.1995, 19.5983, 61.6851)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78CF #CFA64F
analogous
#4FB8CF #4F78CF #664FCF
triadic
#4F78CF #CF4F78 #78CF4F
tetradic
#4F78CF #CF4FB8 #CFA64F #4FCF66
square
#4F78CF #CF4FB8 #CFA64F #4FCF66
split-complementary
#4F78CF #CF664F #B8CF4F
monochromatic
#234181 #3059B1 #4F78CF #7F9DDC #AFC2E9

Accessibility & contrast

On white

4.27
#4F78CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4F78CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78CF#FFFFFF#000000##000000
##4F78CF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f78cf;
/* rgb */ color: rgb(79, 120, 207);
/* oklch */ color: oklch(58.5% 0.141 263.6);
Tailwind
colors: {
  custom: {
    50: '#8b9ede',
    500: '#4f78cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f78cf;
$custom-light: #8b9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78cf",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 220.781,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.14137,
    "h": 263.6
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#4F78CF
secondary
#D7C6A2
accent
#AF47E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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