#4F72EC#4F72EC

#4F72EC is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.188 H 268.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4F72EC
RGBrgb(79, 114, 236)
HSLhsl(227, 81%, 62%)
HSVhsv(227, 67%, 93%)
CMYKcmyk(66.5%, 51.7%, 0%, 7.5%)
CIE-LABlab(51.55, 26.49, -65.39)
CIE-LCHlch(51.55, 70.56, 292.06°)
OKLaboklab(59.21% -0.0061 -0.1878)
OKLCHoklch(59.21% 0.188 268.1)
XYZxyz(24.3769, 19.7507, 81.8682)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72EC #ECC94F
analogous
#4FC1EC #4F72EC #7B4FEC
triadic
#4F72EC #EC4F72 #72EC4F
tetradic
#4F72EC #EC4FC1 #ECC94F #4FEC7B
square
#4F72EC #EC4FC1 #ECC94F #4FEC7B
split-complementary
#4F72EC #EC7B4F #C1EC4F
monochromatic
#1335AE #1946E5 #4F72EC #869EF2 #BDCBF8

Accessibility & contrast

On white

4.24
#4F72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4F72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72EC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72EC#FFFFFF#000000##000000
##4F72EC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F0
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f72ec;
/* rgb */ color: rgb(79, 114, 236);
/* oklch */ color: oklch(59.2% 0.188 268.1);
Tailwind
colors: {
  custom: {
    50: '#919af3',
    500: '#4f72ec',
    950: '#000000',
  },
}
SCSS
$custom: #4f72ec;
$custom-light: #919af3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72ec",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 226.624,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.18793,
    "h": 268.1
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#4F72EC
secondary
#E8DCAE
accent
#AE09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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