#4F72E4#4F72E4

#4F72E4 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.177 H 267.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4F72E4
RGBrgb(79, 114, 228)
HSLhsl(226, 73%, 60%)
HSVhsv(226, 65%, 89%)
CMYKcmyk(65.4%, 50%, 0%, 10.6%)
CIE-LABlab(51.03, 23.73, -61.75)
CIE-LCHlch(51.03, 66.15, 291.02°)
OKLaboklab(58.65% -0.0068 -0.1771)
OKLCHoklch(58.65% 0.177 267.8)
XYZxyz(23.2405, 19.2962, 75.8835)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72E4 #E4C14F
analogous
#4FBCE4 #4F72E4 #764FE4
triadic
#4F72E4 #E44F72 #72E44F
tetradic
#4F72E4 #E44FBC #E4C14F #4FE476
square
#4F72E4 #E44FBC #E4C14F #4FE476
split-complementary
#4F72E4 #E4764F #BCE44F
monochromatic
#1938A0 #214BD5 #4F72E4 #849DEC #B9C7F4

Accessibility & contrast

On white

4.32
#4F72E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4F72E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72E4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72E4#FFFFFF#000000##000000
##4F72E41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3081E8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f72e4;
/* rgb */ color: rgb(79, 114, 228);
/* oklch */ color: oklch(58.7% 0.177 267.8);
Tailwind
colors: {
  custom: {
    50: '#8f9aed',
    500: '#4f72e4',
    950: '#000000',
  },
}
SCSS
$custom: #4f72e4;
$custom-light: #8f9aed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72e4",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 225.906,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.17724,
    "h": 267.8
  },
  "luminance": 0.19298
}

Semantic roles & 50–950 ramp

primary
#4F72E4
secondary
#E4D7AB
accent
#A710D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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