#4F84CF#4F84CF

#4F84CF is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.1% C 0.128 H 257.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F84CF
RGBrgb(79, 132, 207)
HSLhsl(215, 57%, 56%)
HSVhsv(215, 62%, 81%)
CMYKcmyk(61.8%, 36.2%, 0%, 18.8%)
CIE-LABlab(54.73, 5.51, -44.00)
CIE-LCHlch(54.73, 44.34, 277.14°)
OKLaboklab(61.11% -0.0282 -0.1248)
OKLCHoklch(61.11% 0.128 257.3)
XYZxyz(22.7342, 22.6677, 62.1966)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F84CF #CF9A4F
analogous
#4FC4CF #4F84CF #5A4FCF
triadic
#4F84CF #CF4F84 #84CF4F
tetradic
#4F84CF #CF4FC4 #CF9A4F #4FCF5A
square
#4F84CF #CF4FC4 #CF9A4F #4FCF5A
split-complementary
#4F84CF #CF5A4F #C4CF4F
monochromatic
#234A81 #3065B1 #4F84CF #7FA6DC #AFC7E9

Accessibility & contrast

On white

3.79
#4F84CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4F84CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F84CF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F84CF#FFFFFF#000000##000000
##4F84CF1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#648AD2
Deuteranopia (green-blind)
#527DCD
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f84cf;
/* rgb */ color: rgb(79, 132, 207);
/* oklch */ color: oklch(61.1% 0.128 257.3);
Tailwind
colors: {
  custom: {
    50: '#8ba7de',
    500: '#4f84cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f84cf;
$custom-light: #8ba7de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f84cf",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 207
  },
  "hsl": {
    "h": 215.156,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.12792,
    "h": 257.3
  },
  "luminance": 0.2267
}

Semantic roles & 50–950 ramp

primary
#4F84CF
secondary
#D7C1A2
accent
#A147E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F84CF

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

Preview Lab → · Contrast checker → · Palette generator →

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