#4F72DC#4F72DC

#4F72DC is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.1% C 0.166 H 267.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F72DC
RGBrgb(79, 114, 220)
HSLhsl(225, 67%, 59%)
HSVhsv(225, 64%, 86%)
CMYKcmyk(64.1%, 48.2%, 0%, 13.7%)
CIE-LABlab(50.53, 20.97, -58.05)
CIE-LCHlch(50.53, 61.72, 289.86°)
OKLaboklab(58.1% -0.0078 -0.1662)
OKLCHoklch(58.1% 0.166 267.3)
XYZxyz(22.1556, 18.8622, 70.1695)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72DC #DCB94F
analogous
#4FB9DC #4F72DC #724FDC
triadic
#4F72DC #DC4F72 #72DC4F
tetradic
#4F72DC #DC4FB9 #DCB94F #4FDC72
square
#4F72DC #DC4FB9 #DCB94F #4FDC72
split-complementary
#4F72DC #DC724F #B9DC4F
monochromatic
#1D3B93 #274FC6 #4F72DC #829BE6 #B5C4F0

Accessibility & contrast

On white

4.40
#4F72DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4F72DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72DC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72DC#FFFFFF#000000##000000
##4F72DC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE0
Deuteranopia (green-blind)
#1A72DA
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f72dc;
/* rgb */ color: rgb(79, 114, 220);
/* oklch */ color: oklch(58.1% 0.166 267.3);
Tailwind
colors: {
  custom: {
    50: '#8e9ae7',
    500: '#4f72dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f72dc;
$custom-light: #8e9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72dc",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 225.106,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.16642,
    "h": 267.3
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

primary
#4F72DC
secondary
#DFD1A8
accent
#BF3EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F72DC

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

Preview Lab → · Contrast checker → · Palette generator →

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