#4F7ACC#4F7ACC

#4F7ACC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.135 H 262.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F7ACC
RGBrgb(79, 122, 204)
HSLhsl(219, 55%, 55%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(61.3%, 40.2%, 0%, 20%)
CIE-LABlab(51.77, 10.55, -46.99)
CIE-LCHlch(51.77, 48.16, 282.65°)
OKLaboklab(58.76% -0.0184 -0.1336)
OKLCHoklch(58.76% 0.135 262.2)
XYZxyz(21.0793, 19.9391, 59.8528)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ACC #CCA14F
analogous
#4FB8CC #4F7ACC #624FCC
triadic
#4F7ACC #CC4F7A #7ACC4F
tetradic
#4F7ACC #CC4FB8 #CCA14F #4FCC62
square
#4F7ACC #CC4FB8 #CCA14F #4FCC62
split-complementary
#4F7ACC #CC624F #B8CC4F
monochromatic
#24437D #325CAC #4F7ACC #7E9EDA #AEC2E7

Accessibility & contrast

On white

4.21
#4F7ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4F7ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7ACC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7ACC#FFFFFF#000000##000000
##4F7ACC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7acc;
/* rgb */ color: rgb(79, 122, 204);
/* oklch */ color: oklch(58.8% 0.135 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ba0dc',
    500: '#4f7acc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7acc;
$custom-light: #8ba0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7acc",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 219.36,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58757,
    "c": 0.13491,
    "h": 262.2
  },
  "luminance": 0.19941
}

Semantic roles & 50–950 ramp

primary
#4F7ACC
secondary
#D5C4A1
accent
#AB49DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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