#4F72E8#4F72E8

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

Color values

HEX#4F72E8
RGBrgb(79, 114, 232)
HSLhsl(226, 77%, 61%)
HSVhsv(226, 66%, 91%)
CMYKcmyk(65.9%, 50.9%, 0%, 9%)
CIE-LABlab(51.29, 25.11, -63.58)
CIE-LCHlch(51.29, 68.36, 291.55°)
OKLaboklab(58.93% -0.0064 -0.1825)
OKLCHoklch(58.93% 0.183 268)
XYZxyz(23.8022, 19.5208, 78.8418)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72E8 #E8C54F
analogous
#4FBEE8 #4F72E8 #794FE8
triadic
#4F72E8 #E84F72 #72E84F
tetradic
#4F72E8 #E84FBE #E8C54F #4FE879
square
#4F72E8 #E84FBE #E8C54F #4FE879
split-complementary
#4F72E8 #E8794F #BEE84F
monochromatic
#1637A7 #1D49DD #4F72E8 #859DEF #BBC9F6

Accessibility & contrast

On white

4.28
#4F72E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4F72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72E8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72E8#FFFFFF#000000##000000
##4F72E81.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EC
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f72e8;
/* rgb */ color: rgb(79, 114, 232);
/* oklch */ color: oklch(58.9% 0.183 268.0);
Tailwind
colors: {
  custom: {
    50: '#909af0',
    500: '#4f72e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f72e8;
$custom-light: #909af0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72e8",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 226.275,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.1826,
    "h": 268
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#4F72E8
secondary
#E6D9AD
accent
#AA0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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