#4F72EB#4F72EB

#4F72EB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.1% C 0.187 H 268.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F72EB
RGBrgb(79, 114, 235)
HSLhsl(227, 80%, 62%)
HSVhsv(227, 66%, 92%)
CMYKcmyk(66.4%, 51.5%, 0%, 7.8%)
CIE-LABlab(51.49, 26.15, -64.94)
CIE-LCHlch(51.49, 70.01, 291.93°)
OKLaboklab(59.14% -0.0062 -0.1865)
OKLCHoklch(59.14% 0.187 268.1)
XYZxyz(24.2320, 19.6927, 81.1052)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72EB #EBC84F
analogous
#4FC0EB #4F72EB #7A4FEB
triadic
#4F72EB #EB4F72 #72EB4F
tetradic
#4F72EB #EB4FC0 #EBC84F #4FEB7A
square
#4F72EB #EB4FC0 #EBC84F #4FEB7A
split-complementary
#4F72EB #EB7A4F #C0EB4F
monochromatic
#1436AC #1A47E3 #4F72EB #869EF1 #BDCAF7

Accessibility & contrast

On white

4.25
#4F72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4F72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72EB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72EB#FFFFFF#000000##000000
##4F72EB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EF
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f72eb;
/* rgb */ color: rgb(79, 114, 235);
/* oklch */ color: oklch(59.1% 0.187 268.1);
Tailwind
colors: {
  custom: {
    50: '#909af2',
    500: '#4f72eb',
    950: '#000000',
  },
}
SCSS
$custom: #4f72eb;
$custom-light: #909af2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72eb",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 226.538,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.1866,
    "h": 268.1
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#4F72EB
secondary
#E8DBAE
accent
#AD0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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