#4F7ED4#4F7ED4

#4F7ED4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.141 H 261.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F7ED4
RGBrgb(79, 126, 212)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 63%, 83%)
CMYKcmyk(62.7%, 40.6%, 0%, 16.9%)
CIE-LABlab(53.31, 10.83, -49.07)
CIE-LCHlch(53.31, 50.25, 282.45°)
OKLaboklab(60.09% -0.0209 -0.1397)
OKLCHoklch(60.09% 0.141 261.5)
XYZxyz(22.5648, 21.3354, 65.2036)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ED4 #D4A54F
analogous
#4FC1D4 #4F7ED4 #634FD4
triadic
#4F7ED4 #D44F7E #7ED44F
tetradic
#4F7ED4 #D44FC1 #D4A54F #4FD463
square
#4F7ED4 #D44FC1 #D4A54F #4FD463
split-complementary
#4F7ED4 #D4634F #C1D44F
monochromatic
#214587 #2D5EB9 #4F7ED4 #80A2E0 #B1C6EC

Accessibility & contrast

On white

3.99
#4F7ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4F7ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7ED4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7ED4#FFFFFF#000000##000000
##4F7ED41.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D7
Deuteranopia (green-blind)
#447AD2
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7ed4;
/* rgb */ color: rgb(79, 126, 212);
/* oklch */ color: oklch(60.1% 0.141 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ca2e2',
    500: '#4f7ed4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ed4;
$custom-light: #8ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ed4",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 218.797,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.14124,
    "h": 261.5
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

primary
#4F7ED4
secondary
#DAC7A4
accent
#AB44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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