#4F72F5#4F72F5

#4F72F5 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.200 H 268.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4F72F5
RGBrgb(79, 114, 245)
HSLhsl(227, 89%, 64%)
HSVhsv(227, 68%, 96%)
CMYKcmyk(67.8%, 53.5%, 0%, 3.9%)
CIE-LABlab(52.16, 29.60, -69.43)
CIE-LCHlch(52.16, 75.48, 293.09°)
OKLaboklab(59.86% -0.0054 -0.1997)
OKLCHoklch(59.86% 0.2 268.4)
XYZxyz(25.7175, 20.2869, 88.9289)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72F5 #F5D24F
analogous
#4FC5F5 #4F72F5 #7F4FF5
triadic
#4F72F5 #F54F72 #72F54F
tetradic
#4F72F5 #F54FC5 #F5D24F #4FF57F
square
#4F72F5 #F54FC5 #F5D24F #4FF57F
split-complementary
#4F72F5 #F57F4F #C5F54F
monochromatic
#0B31BF #1544F2 #4F72F5 #89A0F8 #C3CFFC

Accessibility & contrast

On white

4.15
#4F72F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4F72F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72F5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72F5#FFFFFF#000000##000000
##4F72F51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0684FA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#0091A9
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f72f5;
/* rgb */ color: rgb(79, 114, 245);
/* oklch */ color: oklch(59.9% 0.200 268.4);
Tailwind
colors: {
  custom: {
    50: '#929af9',
    500: '#4f72f5',
    950: '#000000',
  },
}
SCSS
$custom: #4f72f5;
$custom-light: #929af9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72f5",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 227.349,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59863,
    "c": 0.19979,
    "h": 268.4
  },
  "luminance": 0.20289
}

Semantic roles & 50–950 ramp

primary
#4F72F5
secondary
#EDE1B2
accent
#B500E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72F5

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

Preview Lab → · Contrast checker → · Palette generator →

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