#4F78E5#4F78E5

#4F78E5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.171 H 265.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F78E5
RGBrgb(79, 120, 229)
HSLhsl(224, 74%, 60%)
HSVhsv(224, 66%, 90%)
CMYKcmyk(65.5%, 47.6%, 0%, 10.2%)
CIE-LABlab(52.67, 20.36, -59.66)
CIE-LCHlch(52.67, 63.04, 288.84°)
OKLaboklab(59.92% -0.0122 -0.1709)
OKLCHoklch(59.92% 0.171 265.9)
XYZxyz(24.0789, 20.7501, 76.8498)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78E5 #E5BC4F
analogous
#4FC3E5 #4F78E5 #714FE5
triadic
#4F78E5 #E54F78 #78E54F
tetradic
#4F78E5 #E54FC3 #E5BC4F #4FE571
square
#4F78E5 #E54FC3 #E5BC4F #4FE571
split-complementary
#4F78E5 #E5714F #C3E54F
monochromatic
#183EA2 #2052D7 #4F78E5 #84A1ED #BACAF5

Accessibility & contrast

On white

4.08
#4F78E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4F78E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78E5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78E5#FFFFFF#000000##000000
##4F78E51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E9
Deuteranopia (green-blind)
#1C77E3
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f78e5;
/* rgb */ color: rgb(79, 120, 229);
/* oklch */ color: oklch(59.9% 0.171 265.9);
Tailwind
colors: {
  custom: {
    50: '#8f9eee',
    500: '#4f78e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f78e5;
$custom-light: #8f9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78e5",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 223.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.17133,
    "h": 265.9
  },
  "luminance": 0.20752
}

Semantic roles & 50–950 ramp

primary
#4F78E5
secondary
#E5D5AB
accent
#A00FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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