#4F7CD4#4F7CD4

#4F7CD4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.144 H 262.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F7CD4
RGBrgb(79, 124, 212)
HSLhsl(220, 61%, 57%)
HSVhsv(220, 63%, 83%)
CMYKcmyk(62.7%, 41.5%, 0%, 16.9%)
CIE-LABlab(52.76, 12.05, -49.95)
CIE-LCHlch(52.76, 51.38, 283.56°)
OKLaboklab(59.67% -0.0188 -0.1423)
OKLCHoklch(59.67% 0.144 262.5)
XYZxyz(22.3116, 20.8290, 65.1192)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CD4 #D4A74F
analogous
#4FBFD4 #4F7CD4 #644FD4
triadic
#4F7CD4 #D44F7C #7CD44F
tetradic
#4F7CD4 #D44FBF #D4A74F #4FD464
square
#4F7CD4 #D44FBF #D4A74F #4FD464
split-complementary
#4F7CD4 #D4644F #BFD44F
monochromatic
#214487 #2D5CB9 #4F7CD4 #80A1E0 #B1C5EC

Accessibility & contrast

On white

4.06
#4F7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F7CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CD4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CD4#FFFFFF#000000##000000
##4F7CD41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D7
Deuteranopia (green-blind)
#4178D2
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7cd4;
/* rgb */ color: rgb(79, 124, 212);
/* oklch */ color: oklch(59.7% 0.144 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ca1e2',
    500: '#4f7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cd4;
$custom-light: #8ca1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cd4",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 219.699,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59667,
    "c": 0.14353,
    "h": 262.5
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#4F7CD4
secondary
#DAC8A4
accent
#AE44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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