#4F7EEB#4F7EEB

#4F7EEB is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.172 H 264.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F7EEB
RGBrgb(79, 126, 235)
HSLhsl(222, 80%, 62%)
HSVhsv(222, 66%, 92%)
CMYKcmyk(66.4%, 46.4%, 0%, 7.8%)
CIE-LABlab(54.64, 18.75, -59.87)
CIE-LCHlch(54.64, 62.74, 287.39°)
OKLaboklab(61.54% -0.0169 -0.1714)
OKLCHoklch(61.54% 0.172 264.4)
XYZxyz(25.6755, 22.5796, 81.5864)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EEB #EBBC4F
analogous
#4FCCEB #4F7EEB #6E4FEB
triadic
#4F7EEB #EB4F7E #7EEB4F
tetradic
#4F7EEB #EB4FCC #EBBC4F #4FEB6E
square
#4F7EEB #EB4FCC #EBBC4F #4FEB6E
split-complementary
#4F7EEB #EB6E4F #CCEB4F
monochromatic
#1441AC #1A56E3 #4F7EEB #86A6F1 #BDCFF7

Accessibility & contrast

On white

3.81
#4F7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4F7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EEB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EEB#FFFFFF#000000##000000
##4F7EEB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#257CE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f7eeb;
/* rgb */ color: rgb(79, 126, 235);
/* oklch */ color: oklch(61.5% 0.172 264.4);
Tailwind
colors: {
  custom: {
    50: '#90a2f2',
    500: '#4f7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7eeb;
$custom-light: #90a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7eeb",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 221.923,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61539,
    "c": 0.17224,
    "h": 264.4
  },
  "luminance": 0.22582
}

Semantic roles & 50–950 ramp

primary
#4F7EEB
secondary
#E8D6AE
accent
#9D0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4F7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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