#4A72E5#4A72E5

#4A72E5 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.180 H 266.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4A72E5
RGBrgb(74, 114, 229)
HSLhsl(225, 75%, 59%)
HSVhsv(225, 68%, 90%)
CMYKcmyk(67.7%, 50.2%, 0%, 10.2%)
CIE-LABlab(50.86, 23.31, -62.60)
CIE-LCHlch(50.86, 66.80, 290.42°)
OKLaboklab(58.47% -0.0112 -0.1797)
OKLCHoklch(58.47% 0.18 266.4)
XYZxyz(22.9793, 19.1454, 76.5979)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A72E5 #E5BD4A
analogous
#4AC0E5 #4A72E5 #704AE5
triadic
#4A72E5 #E54A72 #72E54A
tetradic
#4A72E5 #E54AC0 #E5BD4A #4AE570
square
#4A72E5 #E54AC0 #E5BD4A #4AE570
split-complementary
#4A72E5 #E5704A #C0E54A
monochromatic
#173A9E #1E4DD3 #4A72E5 #809CED #B5C5F4

Accessibility & contrast

On white

4.35
#4A72E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4A72E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A72E5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A72E5#FFFFFF#000000##000000
##4A72E51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81E9
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a72e5;
/* rgb */ color: rgb(74, 114, 229);
/* oklch */ color: oklch(58.5% 0.180 266.4);
Tailwind
colors: {
  custom: {
    50: '#8d9aee',
    500: '#4a72e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a72e5;
$custom-light: #8d9aee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a72e5",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 224.516,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.18008,
    "h": 266.4
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#4A72E5
secondary
#E4D4A7
accent
#C136F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4A72E5

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

Preview Lab → · Contrast checker → · Palette generator →

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