#4F72DF#4F72DF

#4F72DF is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.171 H 267.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4F72DF
RGBrgb(79, 114, 223)
HSLhsl(225, 69%, 59%)
HSVhsv(225, 65%, 87%)
CMYKcmyk(64.6%, 48.9%, 0%, 12.5%)
CIE-LABlab(50.71, 22.00, -59.45)
CIE-LCHlch(50.71, 63.39, 290.31°)
OKLaboklab(58.31% -0.0074 -0.1703)
OKLCHoklch(58.31% 0.171 267.5)
XYZxyz(22.5565, 19.0225, 72.2807)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72DF #DFBC4F
analogous
#4FBADF #4F72DF #744FDF
triadic
#4F72DF #DF4F72 #72DF4F
tetradic
#4F72DF #DF4FBA #DFBC4F #4FDF74
square
#4F72DF #DF4FBA #DFBC4F #4FDF74
split-complementary
#4F72DF #DF744F #BADF4F
monochromatic
#1C3A98 #254ECC #4F72DF #839BE8 #B7C5F2

Accessibility & contrast

On white

4.37
#4F72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4F72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72DF#FFFFFF#000000##000000
##4F72DF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3780E3
Deuteranopia (green-blind)
#1073DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f72df;
/* rgb */ color: rgb(79, 114, 223);
/* oklch */ color: oklch(58.3% 0.171 267.5);
Tailwind
colors: {
  custom: {
    50: '#8e9aea',
    500: '#4f72df',
    950: '#000000',
  },
}
SCSS
$custom: #4f72df;
$custom-light: #8e9aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72df",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 225.417,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58307,
    "c": 0.1705,
    "h": 267.5
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#4F72DF
secondary
#E1D3A9
accent
#C13CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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