#4F72F2#4F72F2

#4F72F2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.6% C 0.196 H 268.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4F72F2
RGBrgb(79, 114, 242)
HSLhsl(227, 86%, 63%)
HSVhsv(227, 67%, 95%)
CMYKcmyk(67.4%, 52.9%, 0%, 5.1%)
CIE-LABlab(51.96, 28.57, -68.09)
CIE-LCHlch(51.96, 73.84, 292.76°)
OKLaboklab(59.64% -0.0056 -0.1958)
OKLCHoklch(59.64% 0.196 268.3)
XYZxyz(25.2633, 20.1052, 86.5365)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72F2 #F2CF4F
analogous
#4FC3F2 #4F72F2 #7E4FF2
triadic
#4F72F2 #F24F72 #72F24F
tetradic
#4F72F2 #F24FC3 #F2CF4F #4FF27E
square
#4F72F2 #F24FC3 #F2CF4F #4FF27E
split-complementary
#4F72F2 #F27E4F #C3F24F
monochromatic
#0E32B9 #1644EE #4F72F2 #88A0F6 #C1CDFA

Accessibility & contrast

On white

4.18
#4F72F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4F72F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72F2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72F2#FFFFFF#000000##000000
##4F72F21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1484F6
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f72f2;
/* rgb */ color: rgb(79, 114, 242);
/* oklch */ color: oklch(59.6% 0.196 268.3);
Tailwind
colors: {
  custom: {
    50: '#929af7',
    500: '#4f72f2',
    950: '#000000',
  },
}
SCSS
$custom: #4f72f2;
$custom-light: #929af7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72f2",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 227.117,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59644,
    "c": 0.19586,
    "h": 268.3
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#4F72F2
secondary
#ECDFB1
accent
#B303E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72F2

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

Preview Lab → · Contrast checker → · Palette generator →

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