#4873DE#4873DE

#4873DE is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.1% C 0.170 H 265.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4873DE
RGBrgb(72, 115, 222)
HSLhsl(223, 69%, 58%)
HSVhsv(223, 68%, 87%)
CMYKcmyk(67.6%, 48.2%, 0%, 12.9%)
CIE-LABlab(50.58, 19.92, -59.11)
CIE-LCHlch(50.58, 62.38, 288.63°)
OKLaboklab(58.1% -0.0146 -0.1695)
OKLCHoklch(58.1% 0.17 265.1)
XYZxyz(21.9834, 18.9109, 71.5847)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873DE #DEB348
analogous
#48BEDE #4873DE #6848DE
triadic
#4873DE #DE4873 #73DE48
tetradic
#4873DE #DE48BE #DEB348 #48DE68
square
#4873DE #DE48BE #DEB348 #48DE68
split-complementary
#4873DE #DE6848 #BEDE48
monochromatic
#1A3C91 #2452C5 #4873DE #7C9BE7 #B0C2F1

Accessibility & contrast

On white

4.39
#4873DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4873DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873DE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873DE#FFFFFF#000000##000000
##4873DE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E2
Deuteranopia (green-blind)
#0F72DC
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4873de;
/* rgb */ color: rgb(72, 115, 222);
/* oklch */ color: oklch(58.1% 0.170 265.1);
Tailwind
colors: {
  custom: {
    50: '#8b9ae9',
    500: '#4873de',
    950: '#000000',
  },
}
SCSS
$custom: #4873de;
$custom-light: #8b9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#4873de",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 222.8,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.1701,
    "h": 265.1
  },
  "luminance": 0.18913
}

Semantic roles & 50–950 ramp

primary
#4873DE
secondary
#DFCEA3
accent
#BA3CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4873DE

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

Preview Lab → · Contrast checker → · Palette generator →

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