#4F72ED#4F72ED

#4F72ED is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.189 H 268.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4F72ED
RGBrgb(79, 114, 237)
HSLhsl(227, 81%, 62%)
HSVhsv(227, 67%, 93%)
CMYKcmyk(66.7%, 51.9%, 0%, 7.1%)
CIE-LABlab(51.62, 26.84, -65.84)
CIE-LCHlch(51.62, 71.10, 292.18°)
OKLaboklab(59.29% -0.006 -0.1892)
OKLCHoklch(59.29% 0.189 268.2)
XYZxyz(24.5226, 19.8090, 82.6355)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72ED #EDCA4F
analogous
#4FC1ED #4F72ED #7B4FED
triadic
#4F72ED #ED4F72 #72ED4F
tetradic
#4F72ED #ED4FC1 #EDCA4F #4FED7B
square
#4F72ED #ED4FC1 #EDCA4F #4FED7B
split-complementary
#4F72ED #ED7B4F #C1ED4F
monochromatic
#1235B0 #1846E7 #4F72ED #879EF3 #BECBF8

Accessibility & contrast

On white

4.23
#4F72ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4F72ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72ED
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72ED#FFFFFF#000000##000000
##4F72ED1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F1
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f72ed;
/* rgb */ color: rgb(79, 114, 237);
/* oklch */ color: oklch(59.3% 0.189 268.2);
Tailwind
colors: {
  custom: {
    50: '#919af4',
    500: '#4f72ed',
    950: '#000000',
  },
}
SCSS
$custom: #4f72ed;
$custom-light: #919af4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72ed",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 226.709,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.18926,
    "h": 268.2
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#4F72ED
secondary
#E9DCAF
accent
#AE08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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