#4F7EE4#4F7EE4

#4F7EE4 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.1% C 0.163 H 263.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4F7EE4
RGBrgb(79, 126, 228)
HSLhsl(221, 73%, 60%)
HSVhsv(221, 65%, 89%)
CMYKcmyk(65.4%, 44.7%, 0%, 10.6%)
CIE-LABlab(54.22, 16.33, -56.62)
CIE-LCHlch(54.22, 58.93, 286.09°)
OKLaboklab(61.09% -0.0179 -0.1619)
OKLCHoklch(61.09% 0.163 263.7)
XYZxyz(24.6840, 22.1830, 76.3647)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7EE4 #E4B54F
analogous
#4FC8E4 #4F7EE4 #6B4FE4
triadic
#4F7EE4 #E44F7E #7EE44F
tetradic
#4F7EE4 #E44FC8 #E4B54F #4FE46B
square
#4F7EE4 #E44FC8 #E4B54F #4FE46B
split-complementary
#4F7EE4 #E46B4F #C8E44F
monochromatic
#1943A0 #215AD5 #4F7EE4 #84A5EC #B9CCF4

Accessibility & contrast

On white

3.86
#4F7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4F7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7EE4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7EE4#FFFFFF#000000##000000
##4F7EE41.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7ee4;
/* rgb */ color: rgb(79, 126, 228);
/* oklch */ color: oklch(61.1% 0.163 263.7);
Tailwind
colors: {
  custom: {
    50: '#8fa2ed',
    500: '#4f7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ee4;
$custom-light: #8fa2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ee4",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 221.074,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61086,
    "c": 0.16286,
    "h": 263.7
  },
  "luminance": 0.22185
}

Semantic roles & 50–950 ramp

primary
#4F7EE4
secondary
#E4D2AB
accent
#9710D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #4F7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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