#4F78CE#4F78CE

#4F78CE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.140 H 263.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F78CE
RGBrgb(79, 120, 206)
HSLhsl(221, 56%, 56%)
HSVhsv(221, 62%, 81%)
CMYKcmyk(61.7%, 41.7%, 0%, 19.2%)
CIE-LABlab(51.32, 12.45, -48.84)
CIE-LCHlch(51.32, 50.40, 284.31°)
OKLaboklab(58.45% -0.0159 -0.1391)
OKLCHoklch(58.45% 0.14 263.5)
XYZxyz(21.0776, 19.5496, 61.0432)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78CE #CEA54F
analogous
#4FB7CE #4F78CE #654FCE
triadic
#4F78CE #CE4F78 #78CE4F
tetradic
#4F78CE #CE4FB7 #CEA54F #4FCE65
square
#4F78CE #CE4FB7 #CEA54F #4FCE65
split-complementary
#4F78CE #CE654F #B7CE4F
monochromatic
#23417F #315AAF #4F78CE #7F9DDB #AFC1E9

Accessibility & contrast

On white

4.28
#4F78CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4F78CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78CE#FFFFFF#000000##000000
##4F78CE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D1
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f78ce;
/* rgb */ color: rgb(79, 120, 206);
/* oklch */ color: oklch(58.4% 0.140 263.5);
Tailwind
colors: {
  custom: {
    50: '#8b9edd',
    500: '#4f78ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f78ce;
$custom-light: #8b9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78ce",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 220.63,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.13999,
    "h": 263.5
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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