#4F72EF#4F72EF

#4F72EF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.192 H 268.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F72EF
RGBrgb(79, 114, 239)
HSLhsl(227, 83%, 62%)
HSVhsv(227, 67%, 94%)
CMYKcmyk(66.9%, 52.3%, 0%, 6.3%)
CIE-LABlab(51.75, 27.53, -66.75)
CIE-LCHlch(51.75, 72.20, 292.41°)
OKLaboklab(59.43% -0.0059 -0.1918)
OKLCHoklch(59.43% 0.192 268.3)
XYZxyz(24.8164, 19.9265, 84.1830)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72EF #EFCC4F
analogous
#4FC2EF #4F72EF #7C4FEF
triadic
#4F72EF #EF4F72 #72EF4F
tetradic
#4F72EF #EF4FC2 #EFCC4F #4FEF7C
square
#4F72EF #EF4FC2 #EFCC4F #4FEF7C
split-complementary
#4F72EF #EF7C4F #C2EF4F
monochromatic
#1034B3 #1745EA #4F72EF #879FF4 #BFCCF9

Accessibility & contrast

On white

4.21
#4F72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4F72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72EF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72EF#FFFFFF#000000##000000
##4F72EF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D83F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f72ef;
/* rgb */ color: rgb(79, 114, 239);
/* oklch */ color: oklch(59.4% 0.192 268.3);
Tailwind
colors: {
  custom: {
    50: '#919af5',
    500: '#4f72ef',
    950: '#000000',
  },
}
SCSS
$custom: #4f72ef;
$custom-light: #919af5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72ef",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 226.875,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.19191,
    "h": 268.3
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#4F72EF
secondary
#EADDB0
accent
#B006E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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