#4F78EF#4F78EF

#4F78EF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.185 H 266.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F78EF
RGBrgb(79, 120, 239)
HSLhsl(225, 83%, 62%)
HSVhsv(225, 67%, 94%)
CMYKcmyk(66.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.30, 23.83, -64.24)
CIE-LCHlch(53.30, 68.52, 290.35°)
OKLaboklab(60.6% -0.011 -0.1844)
OKLCHoklch(60.6% 0.185 266.6)
XYZxyz(25.5155, 21.3247, 84.4160)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78EF #EFC64F
analogous
#4FC8EF #4F78EF #764FEF
triadic
#4F78EF #EF4F78 #78EF4F
tetradic
#4F78EF #EF4FC8 #EFC64F #4FEF76
square
#4F78EF #EF4FC8 #EFC64F #4FEF76
split-complementary
#4F78EF #EF764F #C8EF4F
monochromatic
#103AB3 #174DEA #4F78EF #87A3F4 #BFCEF9

Accessibility & contrast

On white

3.99
#4F78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4F78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78EF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78EF#FFFFFF#000000##000000
##4F78EF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f78ef;
/* rgb */ color: rgb(79, 120, 239);
/* oklch */ color: oklch(60.6% 0.185 266.6);
Tailwind
colors: {
  custom: {
    50: '#919ef5',
    500: '#4f78ef',
    950: '#000000',
  },
}
SCSS
$custom: #4f78ef;
$custom-light: #919ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78ef",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 224.625,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60601,
    "c": 0.1847,
    "h": 266.6
  },
  "luminance": 0.21327
}

Semantic roles & 50–950 ramp

primary
#4F78EF
secondary
#EADBB0
accent
#A806E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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