#4F7EE8#4F7EE8

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

Color values

HEX#4F7EE8
RGBrgb(79, 126, 232)
HSLhsl(222, 77%, 61%)
HSVhsv(222, 66%, 91%)
CMYKcmyk(65.9%, 45.7%, 0%, 9%)
CIE-LABlab(54.46, 17.71, -58.48)
CIE-LCHlch(54.46, 61.11, 286.85°)
OKLaboklab(61.34% -0.0173 -0.1673)
OKLCHoklch(61.34% 0.168 264.1)
XYZxyz(25.2457, 22.4077, 79.3230)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EE8 #E8B94F
analogous
#4FCAE8 #4F7EE8 #6C4FE8
triadic
#4F7EE8 #E84F7E #7EE84F
tetradic
#4F7EE8 #E84FCA #E8B94F #4FE86C
square
#4F7EE8 #E84FCA #E8B94F #4FE86C
split-complementary
#4F7EE8 #E86C4F #CAE84F
monochromatic
#1642A7 #1D58DD #4F7EE8 #85A6EF #BBCDF6

Accessibility & contrast

On white

3.83
#4F7EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4F7EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EE8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EE8#FFFFFF#000000##000000
##4F7EE81.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498AEC
Deuteranopia (green-blind)
#2B7CE6
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7ee8;
/* rgb */ color: rgb(79, 126, 232);
/* oklch */ color: oklch(61.3% 0.168 264.1);
Tailwind
colors: {
  custom: {
    50: '#8fa2f0',
    500: '#4f7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ee8;
$custom-light: #8fa2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ee8",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 221.569,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.16822,
    "h": 264.1
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#4F7EE8
secondary
#E6D5AD
accent
#9A0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4F7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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