#4871DD#4871DD

#4871DD is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.171 H 265.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4871DD
RGBrgb(72, 113, 221)
HSLhsl(223, 69%, 57%)
HSVhsv(223, 67%, 87%)
CMYKcmyk(67.4%, 48.9%, 0%, 13.3%)
CIE-LABlab(49.99, 20.82, -59.51)
CIE-LCHlch(49.99, 63.04, 289.28°)
OKLaboklab(57.62% -0.013 -0.1707)
OKLCHoklch(57.62% 0.171 265.7)
XYZxyz(21.6242, 18.4063, 70.8058)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871DD #DDB448
analogous
#48BCDD #4871DD #6948DD
triadic
#4871DD #DD4871 #71DD48
tetradic
#4871DD #DD48BC #DDB448 #48DD69
square
#4871DD #DD48BC #DDB448 #48DD69
split-complementary
#4871DD #DD6948 #BCDD48
monochromatic
#1B3B90 #2450C3 #4871DD #7C99E7 #AFC1F0

Accessibility & contrast

On white

4.49
#4871DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4871DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4871DD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871DD#FFFFFF#000000##000000
##4871DD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE1
Deuteranopia (green-blind)
#0470DB
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4871dd;
/* rgb */ color: rgb(72, 113, 221);
/* oklch */ color: oklch(57.6% 0.171 265.7);
Tailwind
colors: {
  custom: {
    50: '#8b99e8',
    500: '#4871dd',
    950: '#000000',
  },
}
SCSS
$custom: #4871dd;
$custom-light: #8b99e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4871dd",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 223.49,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.17116,
    "h": 265.7
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#4871DD
secondary
#DECEA2
accent
#BB3CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4871DD

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

Preview Lab → · Contrast checker → · Palette generator →

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