#4F84D7#4F84D7

#4F84D7 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.6% C 0.139 H 259.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4F84D7
RGBrgb(79, 132, 215)
HSLhsl(217, 63%, 58%)
HSVhsv(217, 63%, 84%)
CMYKcmyk(63.3%, 38.6%, 0%, 15.7%)
CIE-LABlab(55.14, 8.22, -47.86)
CIE-LCHlch(55.14, 48.56, 279.75°)
OKLaboklab(61.56% -0.0263 -0.136)
OKLCHoklch(61.56% 0.139 259)
XYZxyz(23.7371, 23.0689, 67.4786)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F84D7 #D7A24F
analogous
#4FC8D7 #4F84D7 #5E4FD7
triadic
#4F84D7 #D74F84 #84D74F
tetradic
#4F84D7 #D74FC8 #D7A24F #4FD75E
square
#4F84D7 #D74FC8 #D7A24F #4FD75E
split-complementary
#4F84D7 #D75E4F #C8D74F
monochromatic
#204A8C #2B64BE #4F84D7 #81A7E2 #B3CAEE

Accessibility & contrast

On white

3.74
#4F84D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4F84D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F84D7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F84D7#FFFFFF#000000##000000
##4F84D71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8BDA
Deuteranopia (green-blind)
#4C7ED5
Tritanopia (blue-blind)
#0097A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f84d7;
/* rgb */ color: rgb(79, 132, 215);
/* oklch */ color: oklch(61.6% 0.139 259.0);
Tailwind
colors: {
  custom: {
    50: '#8da7e4',
    500: '#4f84d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f84d7;
$custom-light: #8da7e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f84d7",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 215
  },
  "hsl": {
    "h": 216.618,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61564,
    "c": 0.13857,
    "h": 259
  },
  "luminance": 0.23071
}

Semantic roles & 50–950 ramp

primary
#4F84D7
secondary
#DCC7A6
accent
#A642E6
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4F84D7

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

Preview Lab → · Contrast checker → · Palette generator →

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