#4F72E7#4F72E7

#4F72E7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.181 H 267.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4F72E7
RGBrgb(79, 114, 231)
HSLhsl(226, 76%, 61%)
HSVhsv(226, 66%, 91%)
CMYKcmyk(65.8%, 50.6%, 0%, 9.4%)
CIE-LABlab(51.23, 24.77, -63.12)
CIE-LCHlch(51.23, 67.81, 291.42°)
OKLaboklab(58.86% -0.0065 -0.1811)
OKLCHoklch(58.86% 0.181 267.9)
XYZxyz(23.6606, 19.4642, 78.0959)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72E7 #E7C44F
analogous
#4FBEE7 #4F72E7 #784FE7
triadic
#4F72E7 #E74F72 #72E74F
tetradic
#4F72E7 #E74FBE #E7C44F #4FE778
square
#4F72E7 #E74FBE #E7C44F #4FE778
split-complementary
#4F72E7 #E7784F #BEE74F
monochromatic
#1737A5 #1E49DB #4F72E7 #859DEE #BBC8F6

Accessibility & contrast

On white

4.29
#4F72E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4F72E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72E7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72E7#FFFFFF#000000##000000
##4F72E71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EB
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f72e7;
/* rgb */ color: rgb(79, 114, 231);
/* oklch */ color: oklch(58.9% 0.181 267.9);
Tailwind
colors: {
  custom: {
    50: '#909aef',
    500: '#4f72e7',
    950: '#000000',
  },
}
SCSS
$custom: #4f72e7;
$custom-light: #909aef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72e7",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 226.184,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5886,
    "c": 0.18127,
    "h": 267.9
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#4F72E7
secondary
#E6D8AC
accent
#A90DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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