#4F78F4#4F78F4

#4F78F4 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.191 H 266.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F78F4
RGBrgb(79, 120, 244)
HSLhsl(225, 88%, 63%)
HSVhsv(225, 68%, 96%)
CMYKcmyk(67.6%, 50.8%, 0%, 4.3%)
CIE-LABlab(53.63, 25.56, -66.51)
CIE-LCHlch(53.63, 71.25, 291.02°)
OKLaboklab(60.95% -0.0105 -0.191)
OKLCHoklch(60.95% 0.191 266.9)
XYZxyz(26.2644, 21.6243, 88.3602)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78F4 #F4CB4F
analogous
#4FCAF4 #4F78F4 #784FF4
triadic
#4F78F4 #F44F78 #78F44F
tetradic
#4F78F4 #F44FCA #F4CB4F #4FF478
square
#4F78F4 #F44FCA #F4CB4F #4FF478
split-complementary
#4F78F4 #F4784F #CAF44F
monochromatic
#0C38BD #154CF0 #4F78F4 #89A4F8 #C2D0FB

Accessibility & contrast

On white

3.94
#4F78F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4F78F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78F4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78F4#FFFFFF#000000##000000
##4F78F41.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B88F8
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f78f4;
/* rgb */ color: rgb(79, 120, 244);
/* oklch */ color: oklch(61.0% 0.191 266.9);
Tailwind
colors: {
  custom: {
    50: '#929ef8',
    500: '#4f78f4',
    950: '#000000',
  },
}
SCSS
$custom: #4f78f4;
$custom-light: #929ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78f4",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 225.091,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6095,
    "c": 0.19131,
    "h": 266.9
  },
  "luminance": 0.21627
}

Semantic roles & 50–950 ramp

primary
#4F78F4
secondary
#EDDEB2
accent
#AC01E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F78F4

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

Preview Lab → · Contrast checker → · Palette generator →

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