#4F7AE8#4F7AE8

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

Color values

HEX#4F7AE8
RGBrgb(79, 122, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(65.9%, 47.4%, 0%, 9%)
CIE-LABlab(53.39, 20.17, -60.20)
CIE-LCHlch(53.39, 63.48, 288.52°)
OKLaboklab(60.53% -0.0136 -0.1724)
OKLCHoklch(60.53% 0.173 265.5)
XYZxyz(24.7444, 21.4051, 79.1559)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AE8 #E8BD4F
analogous
#4FC6E8 #4F7AE8 #704FE8
triadic
#4F7AE8 #E84F7A #7AE84F
tetradic
#4F7AE8 #E84FC6 #E8BD4F #4FE870
square
#4F7AE8 #E84FC6 #E8BD4F #4FE870
split-complementary
#4F7AE8 #E8704F #C6E84F
monochromatic
#163FA7 #1D53DD #4F7AE8 #85A3EF #BBCCF6

Accessibility & contrast

On white

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

On black

5.28
#4F7AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AE8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AE8#FFFFFF#000000##000000
##4F7AE81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EC
Deuteranopia (green-blind)
#1D79E6
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7ae8;
/* rgb */ color: rgb(79, 122, 232);
/* oklch */ color: oklch(60.5% 0.173 265.5);
Tailwind
colors: {
  custom: {
    50: '#909ff0',
    500: '#4f7ae8',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ae8;
$custom-light: #909ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ae8",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 223.137,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.17297,
    "h": 265.5
  },
  "luminance": 0.21408
}

Semantic roles & 50–950 ramp

primary
#4F7AE8
secondary
#E6D6AD
accent
#A00CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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