#4A72DF#4A72DF

#4A72DF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.172 H 266.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4A72DF
RGBrgb(74, 114, 223)
HSLhsl(224, 70%, 58%)
HSVhsv(224, 67%, 87%)
CMYKcmyk(66.8%, 48.9%, 0%, 12.5%)
CIE-LABlab(50.47, 21.21, -59.85)
CIE-LCHlch(50.47, 63.49, 289.51°)
OKLaboklab(58.06% -0.0119 -0.1716)
OKLCHoklch(58.06% 0.172 266)
XYZxyz(22.1560, 18.8160, 72.2620)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A72DF #DFB74A
analogous
#4ABCDF #4A72DF #6C4ADF
triadic
#4A72DF #DF4A72 #72DF4A
tetradic
#4A72DF #DF4ABC #DFB74A #4ADF6C
square
#4A72DF #DF4ABC #DFB74A #4ADF6C
split-complementary
#4A72DF #DF6C4A #BCDF4A
monochromatic
#1A3B94 #2350C8 #4A72DF #7E9BE8 #B2C3F1

Accessibility & contrast

On white

4.41
#4A72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4A72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A72DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A72DF#FFFFFF#000000##000000
##4A72DF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE3
Deuteranopia (green-blind)
#0672DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a72df;
/* rgb */ color: rgb(74, 114, 223);
/* oklch */ color: oklch(58.1% 0.172 266.0);
Tailwind
colors: {
  custom: {
    50: '#8c9aea',
    500: '#4a72df',
    950: '#000000',
  },
}
SCSS
$custom: #4a72df;
$custom-light: #8c9aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a72df",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 223.893,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.17203,
    "h": 266
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#4A72DF
secondary
#E0D0A5
accent
#BD3BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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