#4F7AE2#4F7AE2

#4F7AE2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.165 H 265.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F7AE2
RGBrgb(79, 122, 226)
HSLhsl(222, 72%, 60%)
HSVhsv(222, 65%, 89%)
CMYKcmyk(65%, 46%, 0%, 11.4%)
CIE-LABlab(53.03, 18.09, -57.42)
CIE-LCHlch(53.03, 60.20, 287.49°)
OKLaboklab(60.13% -0.0145 -0.1643)
OKLCHoklch(60.13% 0.165 265)
XYZxyz(23.9067, 21.0701, 74.7438)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AE2 #E2B74F
analogous
#4FC3E2 #4F7AE2 #6E4FE2
triadic
#4F7AE2 #E24F7A #7AE24F
tetradic
#4F7AE2 #E24FC3 #E2B74F #4FE26E
square
#4F7AE2 #E24FC3 #E2B74F #4FE26E
split-complementary
#4F7AE2 #E26E4F #C3E24F
monochromatic
#1A409D #2256D1 #4F7AE2 #84A2EB #B8C9F3

Accessibility & contrast

On white

4.03
#4F7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4F7AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AE2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AE2#FFFFFF#000000##000000
##4F7AE21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#2A78E0
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7ae2;
/* rgb */ color: rgb(79, 122, 226);
/* oklch */ color: oklch(60.1% 0.165 265.0);
Tailwind
colors: {
  custom: {
    50: '#8f9fec',
    500: '#4f7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ae2;
$custom-light: #8f9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ae2",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 222.449,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.1649,
    "h": 265
  },
  "luminance": 0.21072
}

Semantic roles & 50–950 ramp

primary
#4F7AE2
secondary
#E3D2AA
accent
#B939EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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