#4F78E4#4F78E4

#4F78E4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.9% C 0.170 H 265.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4F78E4
RGBrgb(79, 120, 228)
HSLhsl(223, 73%, 60%)
HSVhsv(223, 65%, 89%)
CMYKcmyk(65.4%, 47.4%, 0%, 10.6%)
CIE-LABlab(52.61, 20.02, -59.20)
CIE-LCHlch(52.61, 62.50, 288.68°)
OKLaboklab(59.86% -0.0123 -0.1695)
OKLCHoklch(59.86% 0.17 265.8)
XYZxyz(23.9397, 20.6944, 76.1165)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78E4 #E4BB4F
analogous
#4FC2E4 #4F78E4 #704FE4
triadic
#4F78E4 #E44F78 #78E44F
tetradic
#4F78E4 #E44FC2 #E4BB4F #4FE470
square
#4F78E4 #E44FC2 #E4BB4F #4FE470
split-complementary
#4F78E4 #E4704F #C2E44F
monochromatic
#193EA0 #2152D5 #4F78E4 #84A1EC #B9C9F4

Accessibility & contrast

On white

4.09
#4F78E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4F78E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78E4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78E4#FFFFFF#000000##000000
##4F78E41.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#1F77E2
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f78e4;
/* rgb */ color: rgb(79, 120, 228);
/* oklch */ color: oklch(59.9% 0.170 265.8);
Tailwind
colors: {
  custom: {
    50: '#8f9eed',
    500: '#4f78e4',
    950: '#000000',
  },
}
SCSS
$custom: #4f78e4;
$custom-light: #8f9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78e4",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 223.49,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59855,
    "c": 0.16999,
    "h": 265.8
  },
  "luminance": 0.20697
}

Semantic roles & 50–950 ramp

primary
#4F78E4
secondary
#E4D4AB
accent
#9F10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F78E4

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

Preview Lab → · Contrast checker → · Palette generator →

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