#4F78D9#4F78D9

#4F78D9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.155 H 264.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4F78D9
RGBrgb(79, 120, 217)
HSLhsl(222, 64%, 58%)
HSVhsv(222, 64%, 85%)
CMYKcmyk(63.6%, 44.7%, 0%, 14.9%)
CIE-LABlab(51.95, 16.22, -54.07)
CIE-LCHlch(51.95, 56.45, 286.70°)
OKLaboklab(59.14% -0.014 -0.1544)
OKLCHoklch(59.14% 0.155 264.8)
XYZxyz(22.4610, 20.1029, 68.3288)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78D9 #D9B04F
analogous
#4FBDD9 #4F78D9 #6B4FD9
triadic
#4F78D9 #D94F78 #78D94F
tetradic
#4F78D9 #D94FBD #D9B04F #4FD96B
square
#4F78D9 #D94FBD #D9B04F #4FD96B
split-complementary
#4F78D9 #D96B4F #BDD94F
monochromatic
#1F408F #2A57C1 #4F78D9 #819FE4 #B4C5EF

Accessibility & contrast

On white

4.18
#4F78D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4F78D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78D9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78D9#FFFFFF#000000##000000
##4F78D91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DD
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f78d9;
/* rgb */ color: rgb(79, 120, 217);
/* oklch */ color: oklch(59.1% 0.155 264.8);
Tailwind
colors: {
  custom: {
    50: '#8d9ee5',
    500: '#4f78d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f78d9;
$custom-light: #8d9ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78d9",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 222.174,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59137,
    "c": 0.15507,
    "h": 264.8
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#4F78D9
secondary
#DDCDA6
accent
#B640E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F78D9

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

Preview Lab → · Contrast checker → · Palette generator →

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