#4F72EA#4F72EA

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

Color values

HEX#4F72EA
RGBrgb(79, 114, 234)
HSLhsl(226, 79%, 61%)
HSVhsv(226, 66%, 92%)
CMYKcmyk(66.2%, 51.3%, 0%, 8.2%)
CIE-LABlab(51.42, 25.80, -64.49)
CIE-LCHlch(51.42, 69.46, 291.81°)
OKLaboklab(59.07% -0.0063 -0.1852)
OKLCHoklch(59.07% 0.185 268.1)
XYZxyz(24.0879, 19.6351, 80.3465)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72EA #EAC74F
analogous
#4FBFEA #4F72EA #7A4FEA
triadic
#4F72EA #EA4F72 #72EA4F
tetradic
#4F72EA #EA4FBF #EAC74F #4FEA7A
square
#4F72EA #EA4FBF #EAC74F #4FEA7A
split-complementary
#4F72EA #EA7A4F #BFEA4F
monochromatic
#1436AA #1B48E1 #4F72EA #869EF1 #BCCAF7

Accessibility & contrast

On white

4.26
#4F72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4F72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72EA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72EA#FFFFFF#000000##000000
##4F72EA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EE
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f72ea;
/* rgb */ color: rgb(79, 114, 234);
/* oklch */ color: oklch(59.1% 0.185 268.1);
Tailwind
colors: {
  custom: {
    50: '#909af1',
    500: '#4f72ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f72ea;
$custom-light: #909af1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72ea",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 226.452,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.18528,
    "h": 268.1
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#4F72EA
secondary
#E7DAAD
accent
#AC0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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