#4F7FD7#4F7FD7

#4F7FD7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.144 H 261.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4F7FD7
RGBrgb(79, 127, 215)
HSLhsl(219, 63%, 58%)
HSVhsv(219, 63%, 84%)
CMYKcmyk(63.3%, 40.9%, 0%, 15.7%)
CIE-LABlab(53.76, 11.25, -50.06)
CIE-LCHlch(53.76, 51.31, 282.66°)
OKLaboklab(60.49% -0.0213 -0.1426)
OKLCHoklch(60.49% 0.144 261.5)
XYZxyz(23.0752, 21.7452, 67.2580)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FD7 #D7A74F
analogous
#4FC3D7 #4F7FD7 #634FD7
triadic
#4F7FD7 #D74F7F #7FD74F
tetradic
#4F7FD7 #D74FC3 #D7A74F #4FD763
square
#4F7FD7 #D74FC3 #D7A74F #4FD763
split-complementary
#4F7FD7 #D7634F #C3D74F
monochromatic
#20468C #2B5FBE #4F7FD7 #81A3E2 #B3C8EE

Accessibility & contrast

On white

3.93
#4F7FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4F7FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FD7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FD7#FFFFFF#000000##000000
##4F7FD71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#437BD5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7fd7;
/* rgb */ color: rgb(79, 127, 215);
/* oklch */ color: oklch(60.5% 0.144 261.5);
Tailwind
colors: {
  custom: {
    50: '#8da3e4',
    500: '#4f7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fd7;
$custom-light: #8da3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fd7",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 218.824,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.14416,
    "h": 261.5
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#4F7FD7
secondary
#DCC9A6
accent
#AC42E6
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4F7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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