#4F7CD7#4F7CD7

#4F7CD7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.148 H 262.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F7CD7
RGBrgb(79, 124, 215)
HSLhsl(220, 63%, 58%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(63.3%, 42.3%, 0%, 15.7%)
CIE-LABlab(52.93, 13.08, -51.38)
CIE-LCHlch(52.93, 53.02, 284.28°)
OKLaboklab(59.85% -0.0183 -0.1465)
OKLCHoklch(59.85% 0.148 262.9)
XYZxyz(22.6936, 20.9818, 67.1308)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CD7 #D7AA4F
analogous
#4FC0D7 #4F7CD7 #664FD7
triadic
#4F7CD7 #D74F7C #7CD74F
tetradic
#4F7CD7 #D74FC0 #D7AA4F #4FD766
square
#4F7CD7 #D74FC0 #D7AA4F #4FD766
split-complementary
#4F7CD7 #D7664F #C0D74F
monochromatic
#20448C #2B5CBE #4F7CD7 #81A1E2 #B3C6EE

Accessibility & contrast

On white

4.04
#4F7CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4F7CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CD7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CD7#FFFFFF#000000##000000
##4F7CD71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285DB
Deuteranopia (green-blind)
#3D79D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7cd7;
/* rgb */ color: rgb(79, 124, 215);
/* oklch */ color: oklch(59.9% 0.148 262.9);
Tailwind
colors: {
  custom: {
    50: '#8da1e4',
    500: '#4f7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cd7;
$custom-light: #8da1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cd7",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 220.147,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.14762,
    "h": 262.9
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#4F7CD7
secondary
#DCCAA6
accent
#B042E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4F7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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