#4872DD#4872DD

#4872DD is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.170 H 265.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4872DD
RGBrgb(72, 114, 221)
HSLhsl(223, 69%, 57%)
HSVhsv(223, 67%, 87%)
CMYKcmyk(67.4%, 48.4%, 0%, 13.3%)
CIE-LABlab(50.25, 20.19, -59.08)
CIE-LCHlch(50.25, 62.43, 288.87°)
OKLaboklab(57.82% -0.0139 -0.1694)
OKLCHoklch(57.82% 0.17 265.3)
XYZxyz(21.7364, 18.6307, 70.8432)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872DD #DDB348
analogous
#48BDDD #4872DD #6848DD
triadic
#4872DD #DD4872 #72DD48
tetradic
#4872DD #DD48BD #DDB348 #48DD68
square
#4872DD #DD48BD #DDB348 #48DD68
split-complementary
#4872DD #DD6848 #BDDD48
monochromatic
#1B3C90 #2451C3 #4872DD #7C9AE7 #AFC2F0

Accessibility & contrast

On white

4.44
#4872DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4872DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872DD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872DD#FFFFFF#000000##000000
##4872DD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#0C71DB
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4872dd;
/* rgb */ color: rgb(72, 114, 221);
/* oklch */ color: oklch(57.8% 0.170 265.3);
Tailwind
colors: {
  custom: {
    50: '#8b9ae8',
    500: '#4872dd',
    950: '#000000',
  },
}
SCSS
$custom: #4872dd;
$custom-light: #8b9ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#4872dd",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 223.087,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.16996,
    "h": 265.3
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#4872DD
secondary
#DECEA2
accent
#BA3CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4872DD

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

Preview Lab → · Contrast checker → · Palette generator →

#4872DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva