#4F72DA#4F72DA

#4F72DA is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.0% C 0.164 H 267.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4F72DA
RGBrgb(79, 114, 218)
HSLhsl(225, 65%, 58%)
HSVhsv(225, 64%, 85%)
CMYKcmyk(63.8%, 47.7%, 0%, 14.5%)
CIE-LABlab(50.40, 20.28, -57.12)
CIE-LCHlch(50.40, 60.62, 289.55°)
OKLaboklab(57.97% -0.008 -0.1635)
OKLCHoklch(57.97% 0.164 267.2)
XYZxyz(21.8923, 18.7569, 68.7828)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72DA #DAB74F
analogous
#4FB7DA #4F72DA #714FDA
triadic
#4F72DA #DA4F72 #72DA4F
tetradic
#4F72DA #DA4FB7 #DAB74F #4FDA71
square
#4F72DA #DA4FB7 #DAB74F #4FDA71
split-complementary
#4F72DA #DA714F #B7DA4F
monochromatic
#1E3B90 #2950C3 #4F72DA #829BE5 #B4C3EF

Accessibility & contrast

On white

4.42
#4F72DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4F72DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72DA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72DA#FFFFFF#000000##000000
##4F72DA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDE
Deuteranopia (green-blind)
#1F72D8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f72da;
/* rgb */ color: rgb(79, 114, 218);
/* oklch */ color: oklch(58.0% 0.164 267.2);
Tailwind
colors: {
  custom: {
    50: '#8d9ae6',
    500: '#4f72da',
    950: '#000000',
  },
}
SCSS
$custom: #4f72da;
$custom-light: #8d9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72da",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 224.892,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.1637,
    "h": 267.2
  },
  "luminance": 0.18759
}

Semantic roles & 50–950 ramp

primary
#4F72DA
secondary
#DED0A7
accent
#BE40E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F72DA

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

Preview Lab → · Contrast checker → · Palette generator →

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