#4F7FD6#4F7FD6

#4F7FD6 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.143 H 261.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4F7FD6
RGBrgb(79, 127, 214)
HSLhsl(219, 62%, 57%)
HSVhsv(219, 63%, 84%)
CMYKcmyk(63.1%, 40.7%, 0%, 16.1%)
CIE-LABlab(53.70, 10.91, -49.58)
CIE-LCHlch(53.70, 50.77, 282.40°)
OKLaboklab(60.43% -0.0215 -0.1412)
OKLCHoklch(60.43% 0.143 261.3)
XYZxyz(22.9472, 21.6939, 66.5833)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7FD6 #D6A64F
analogous
#4FC2D6 #4F7FD6 #634FD6
triadic
#4F7FD6 #D64F7F #7FD64F
tetradic
#4F7FD6 #D64FC2 #D6A64F #4FD663
square
#4F7FD6 #D64FC2 #D6A64F #4FD663
split-complementary
#4F7FD6 #D6634F #C2D64F
monochromatic
#20468A #2C5FBC #4F7FD6 #81A3E2 #B2C7ED

Accessibility & contrast

On white

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

On black

5.34
#4F7FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7FD6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7FD6#FFFFFF#000000##000000
##4F7FD61.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887D9
Deuteranopia (green-blind)
#447BD4
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7fd6;
/* rgb */ color: rgb(79, 127, 214);
/* oklch */ color: oklch(60.4% 0.143 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ca3e3',
    500: '#4f7fd6',
    950: '#000000',
  },
}
SCSS
$custom: #4f7fd6;
$custom-light: #8ca3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7fd6",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 214
  },
  "hsl": {
    "h": 218.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.1428,
    "h": 261.3
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#4F7FD6
secondary
#DCC8A5
accent
#AB43E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F7FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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