#4873DC#4873DC

#4873DC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.0% C 0.167 H 264.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4873DC
RGBrgb(72, 115, 220)
HSLhsl(223, 68%, 57%)
HSVhsv(223, 67%, 86%)
CMYKcmyk(67.3%, 47.7%, 0%, 13.7%)
CIE-LABlab(50.46, 19.22, -58.18)
CIE-LCHlch(50.46, 61.27, 288.28°)
OKLaboklab(57.96% -0.0149 -0.1667)
OKLCHoklch(57.96% 0.167 264.9)
XYZxyz(21.7170, 18.8044, 70.1814)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873DC #DCB148
analogous
#48BDDC #4873DC #6748DC
triadic
#4873DC #DC4873 #73DC48
tetradic
#4873DC #DC48BD #DCB148 #48DC67
square
#4873DC #DC48BD #DCB148 #48DC67
split-complementary
#4873DC #DC6748 #BDDC48
monochromatic
#1B3D8E #2553C2 #4873DC #7B9AE6 #AFC2F0

Accessibility & contrast

On white

4.41
#4873DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4873DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873DC#FFFFFF#000000##000000
##4873DC1.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)
#3B7FE0
Deuteranopia (green-blind)
#1672DA
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4873dc;
/* rgb */ color: rgb(72, 115, 220);
/* oklch */ color: oklch(58.0% 0.167 264.9);
Tailwind
colors: {
  custom: {
    50: '#8b9ae7',
    500: '#4873dc',
    950: '#000000',
  },
}
SCSS
$custom: #4873dc;
$custom-light: #8b9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4873dc",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 222.568,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.1674,
    "h": 264.9
  },
  "luminance": 0.18806
}

Semantic roles & 50–950 ramp

primary
#4873DC
secondary
#DECCA2
accent
#B83DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4873DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4873DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva