#4F78EE#4F78EE

#4F78EE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.183 H 266.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4F78EE
RGBrgb(79, 120, 238)
HSLhsl(225, 82%, 62%)
HSVhsv(225, 67%, 93%)
CMYKcmyk(66.8%, 49.6%, 0%, 6.7%)
CIE-LABlab(53.24, 23.48, -63.79)
CIE-LCHlch(53.24, 67.97, 290.21°)
OKLaboklab(60.53% -0.0111 -0.183)
OKLCHoklch(60.53% 0.183 266.5)
XYZxyz(25.3682, 21.2658, 83.6401)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78EE #EEC54F
analogous
#4FC8EE #4F78EE #754FEE
triadic
#4F78EE #EE4F78 #78EE4F
tetradic
#4F78EE #EE4FC8 #EEC54F #4FEE75
square
#4F78EE #EE4FC8 #EEC54F #4FEE75
split-complementary
#4F78EE #EE754F #C8EE4F
monochromatic
#113AB1 #174DE9 #4F78EE #87A3F3 #BFCEF9

Accessibility & contrast

On white

4.00
#4F78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4F78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78EE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78EE#FFFFFF#000000##000000
##4F78EE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f78ee;
/* rgb */ color: rgb(79, 120, 238);
/* oklch */ color: oklch(60.5% 0.183 266.5);
Tailwind
colors: {
  custom: {
    50: '#919ef4',
    500: '#4f78ee',
    950: '#000000',
  },
}
SCSS
$custom: #4f78ee;
$custom-light: #919ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78ee",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 224.528,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.18337,
    "h": 266.5
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#4F78EE
secondary
#EADBAF
accent
#A707DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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