#4873D9#4873D9

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

Color values

HEX#4873D9
RGBrgb(72, 115, 217)
HSLhsl(222, 66%, 57%)
HSVhsv(222, 67%, 85%)
CMYKcmyk(66.8%, 47%, 0%, 14.9%)
CIE-LABlab(50.27, 18.16, -56.78)
CIE-LCHlch(50.27, 59.62, 287.74°)
OKLaboklab(57.76% -0.0153 -0.1626)
OKLCHoklch(57.76% 0.163 264.6)
XYZxyz(21.3232, 18.6469, 68.1076)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873D9 #D9AE48
analogous
#48BCD9 #4873D9 #6648D9
triadic
#4873D9 #D94873 #73D948
tetradic
#4873D9 #D948BC #D9AE48 #48D966
square
#4873D9 #D948BC #D9AE48 #48D966
split-complementary
#4873D9 #D96648 #BCD948
monochromatic
#1D3D8A #2753BD #4873D9 #7B9AE4 #ADC1EE

Accessibility & contrast

On white

4.44
#4873D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4873D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873D9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873D9#FFFFFF#000000##000000
##4873D91.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)
#3E7FDD
Deuteranopia (green-blind)
#1E71D7
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4873d9;
/* rgb */ color: rgb(72, 115, 217);
/* oklch */ color: oklch(57.8% 0.163 264.6);
Tailwind
colors: {
  custom: {
    50: '#8a9ae5',
    500: '#4873d9',
    950: '#000000',
  },
}
SCSS
$custom: #4873d9;
$custom-light: #8a9ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4873d9",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 217
  },
  "hsl": {
    "h": 222.207,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.16334,
    "h": 264.6
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#4873D9
secondary
#DCCAA1
accent
#B63FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4873D9

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

Preview Lab → · Contrast checker → · Palette generator →

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