#4F7EE5#4F7EE5

#4F7EE5 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.2% C 0.164 H 263.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F7EE5
RGBrgb(79, 126, 229)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 66%, 90%)
CMYKcmyk(65.5%, 45%, 0%, 10.2%)
CIE-LABlab(54.28, 16.67, -57.09)
CIE-LCHlch(54.28, 59.48, 286.28°)
OKLaboklab(61.15% -0.0178 -0.1632)
OKLCHoklch(61.15% 0.164 263.8)
XYZxyz(24.8232, 22.2387, 77.0979)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EE5 #E5B64F
analogous
#4FC9E5 #4F7EE5 #6B4FE5
triadic
#4F7EE5 #E54F7E #7EE54F
tetradic
#4F7EE5 #E54FC9 #E5B64F #4FE56B
square
#4F7EE5 #E54FC9 #E5B64F #4FE56B
split-complementary
#4F7EE5 #E56B4F #C9E54F
monochromatic
#1843A2 #2059D7 #4F7EE5 #84A5ED #BACCF5

Accessibility & contrast

On white

3.85
#4F7EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4F7EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EE5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EE5#FFFFFF#000000##000000
##4F7EE51.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E9
Deuteranopia (green-blind)
#307BE3
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7ee5;
/* rgb */ color: rgb(79, 126, 229);
/* oklch */ color: oklch(61.2% 0.164 263.8);
Tailwind
colors: {
  custom: {
    50: '#8fa2ee',
    500: '#4f7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ee5;
$custom-light: #8fa2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ee5",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 221.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6115,
    "c": 0.16421,
    "h": 263.8
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#4F7EE5
secondary
#E5D3AB
accent
#980FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4F7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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