#4F72D7#4F72D7

#4F72D7 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.160 H 267.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F72D7
RGBrgb(79, 114, 215)
HSLhsl(225, 63%, 58%)
HSVhsv(225, 63%, 84%)
CMYKcmyk(63.3%, 47%, 0%, 15.7%)
CIE-LABlab(50.22, 19.25, -55.72)
CIE-LCHlch(50.22, 58.95, 289.06°)
OKLaboklab(57.77% -0.0084 -0.1594)
OKLCHoklch(57.77% 0.16 267)
XYZxyz(21.5033, 18.6013, 66.7340)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72D7 #D7B44F
analogous
#4FB6D7 #4F72D7 #704FD7
triadic
#4F72D7 #D74F72 #72D74F
tetradic
#4F72D7 #D74FB6 #D7B44F #4FD770
square
#4F72D7 #D74FB6 #D7B44F #4FD770
split-complementary
#4F72D7 #D7704F #B6D74F
monochromatic
#203C8C #2B51BE #4F72D7 #819AE2 #B3C2EE

Accessibility & contrast

On white

4.45
#4F72D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4F72D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72D7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72D7#FFFFFF#000000##000000
##4F72D71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDB
Deuteranopia (green-blind)
#2572D5
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f72d7;
/* rgb */ color: rgb(79, 114, 215);
/* oklch */ color: oklch(57.8% 0.160 267.0);
Tailwind
colors: {
  custom: {
    50: '#8d9ae4',
    500: '#4f72d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f72d7;
$custom-light: #8d9ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72d7",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 215
  },
  "hsl": {
    "h": 224.559,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.15959,
    "h": 267
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#4F72D7
secondary
#DCCEA6
accent
#BC42E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F72D7

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

Preview Lab → · Contrast checker → · Palette generator →

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