#4F78F2#4F78F2

#4F78F2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.189 H 266.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F78F2
RGBrgb(79, 120, 242)
HSLhsl(225, 86%, 63%)
HSVhsv(225, 67%, 95%)
CMYKcmyk(67.4%, 50.4%, 0%, 5.1%)
CIE-LABlab(53.50, 24.87, -65.60)
CIE-LCHlch(53.50, 70.16, 290.76°)
OKLaboklab(60.81% -0.0107 -0.1884)
OKLCHoklch(60.81% 0.189 266.7)
XYZxyz(25.9624, 21.5035, 86.7695)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78F2 #F2C94F
analogous
#4FC9F2 #4F78F2 #774FF2
triadic
#4F78F2 #F24F78 #78F24F
tetradic
#4F78F2 #F24FC9 #F2C94F #4FF277
square
#4F78F2 #F24FC9 #F2C94F #4FF277
split-complementary
#4F78F2 #F2774F #C9F24F
monochromatic
#0E39B9 #164CEE #4F78F2 #88A4F6 #C1CFFA

Accessibility & contrast

On white

3.96
#4F78F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4F78F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78F2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78F2#FFFFFF#000000##000000
##4F78F21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f78f2;
/* rgb */ color: rgb(79, 120, 242);
/* oklch */ color: oklch(60.8% 0.189 266.7);
Tailwind
colors: {
  custom: {
    50: '#919ef7',
    500: '#4f78f2',
    950: '#000000',
  },
}
SCSS
$custom: #4f78f2;
$custom-light: #919ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78f2",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 224.908,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6081,
    "c": 0.18867,
    "h": 266.7
  },
  "luminance": 0.21506
}

Semantic roles & 50–950 ramp

primary
#4F78F2
secondary
#ECDDB1
accent
#AA03E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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