#4F7EE7#4F7EE7

#4F7EE7 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.167 H 264.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F7EE7
RGBrgb(79, 126, 231)
HSLhsl(221, 76%, 61%)
HSVhsv(221, 66%, 91%)
CMYKcmyk(65.8%, 45.5%, 0%, 9.4%)
CIE-LABlab(54.40, 17.37, -58.02)
CIE-LCHlch(54.40, 60.56, 286.66°)
OKLaboklab(61.28% -0.0175 -0.166)
OKLCHoklch(61.28% 0.167 264)
XYZxyz(25.1041, 22.3511, 78.5770)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EE7 #E7B84F
analogous
#4FCAE7 #4F7EE7 #6C4FE7
triadic
#4F7EE7 #E74F7E #7EE74F
tetradic
#4F7EE7 #E74FCA #E7B84F #4FE76C
square
#4F7EE7 #E74FCA #E7B84F #4FE76C
split-complementary
#4F7EE7 #E76C4F #CAE74F
monochromatic
#1743A5 #1E58DB #4F7EE7 #85A5EE #BBCDF6

Accessibility & contrast

On white

3.84
#4F7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4F7EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EE7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EE7#FFFFFF#000000##000000
##4F7EE71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEB
Deuteranopia (green-blind)
#2D7CE5
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7ee7;
/* rgb */ color: rgb(79, 126, 231);
/* oklch */ color: oklch(61.3% 0.167 264.0);
Tailwind
colors: {
  custom: {
    50: '#8fa2ef',
    500: '#4f7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ee7;
$custom-light: #8fa2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ee7",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 221.447,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.16689,
    "h": 264
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#4F7EE7
secondary
#E6D4AC
accent
#990DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4F7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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