#4F78EB#4F78EB

#4F78EB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.179 H 266.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F78EB
RGBrgb(79, 120, 235)
HSLhsl(224, 80%, 62%)
HSVhsv(224, 66%, 92%)
CMYKcmyk(66.4%, 48.9%, 0%, 7.8%)
CIE-LABlab(53.05, 22.44, -62.42)
CIE-LCHlch(53.05, 66.33, 289.77°)
OKLaboklab(60.33% -0.0115 -0.179)
OKLCHoklch(60.33% 0.179 266.3)
XYZxyz(24.9311, 21.0910, 81.3382)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78EB #EBC24F
analogous
#4FC6EB #4F78EB #744FEB
triadic
#4F78EB #EB4F78 #78EB4F
tetradic
#4F78EB #EB4FC6 #EBC24F #4FEB74
square
#4F78EB #EB4FC6 #EBC24F #4FEB74
split-complementary
#4F78EB #EB744F #C6EB4F
monochromatic
#143CAC #1A4FE3 #4F78EB #86A2F1 #BDCCF7

Accessibility & contrast

On white

4.02
#4F78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4F78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78EB#FFFFFF#000000##000000
##4F78EB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#0378E9
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f78eb;
/* rgb */ color: rgb(79, 120, 235);
/* oklch */ color: oklch(60.3% 0.179 266.3);
Tailwind
colors: {
  custom: {
    50: '#909ef2',
    500: '#4f78eb',
    950: '#000000',
  },
}
SCSS
$custom: #4f78eb;
$custom-light: #909ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78eb",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 224.231,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.17938,
    "h": 266.3
  },
  "luminance": 0.21093
}

Semantic roles & 50–950 ramp

primary
#4F78EB
secondary
#E8D9AE
accent
#A50ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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