#4F7AE7#4F7AE7

#4F7AE7 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.172 H 265.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F7AE7
RGBrgb(79, 122, 231)
HSLhsl(223, 76%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(65.8%, 47.2%, 0%, 9.4%)
CIE-LABlab(53.33, 19.82, -59.73)
CIE-LCHlch(53.33, 62.94, 288.36°)
OKLaboklab(60.46% -0.0138 -0.1711)
OKLCHoklch(60.46% 0.172 265.4)
XYZxyz(24.6028, 21.3485, 78.4099)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AE7 #E7BC4F
analogous
#4FC6E7 #4F7AE7 #704FE7
triadic
#4F7AE7 #E74F7A #7AE74F
tetradic
#4F7AE7 #E74FC6 #E7BC4F #4FE770
square
#4F7AE7 #E74FC6 #E7BC4F #4FE770
split-complementary
#4F7AE7 #E7704F #C6E74F
monochromatic
#173FA5 #1E53DB #4F7AE7 #85A3EE #BBCBF6

Accessibility & contrast

On white

3.98
#4F7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7AE7#FFFFFF#000000##000000
##4F7AE71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7ae7;
/* rgb */ color: rgb(79, 122, 231);
/* oklch */ color: oklch(60.5% 0.172 265.4);
Tailwind
colors: {
  custom: {
    50: '#8f9fef',
    500: '#4f7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ae7;
$custom-light: #8f9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ae7",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 223.026,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60461,
    "c": 0.17162,
    "h": 265.4
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#4F7AE7
secondary
#E6D5AC
accent
#9F0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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