#4873D8#4873D8

#4873D8 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.7% C 0.162 H 264.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4873D8
RGBrgb(72, 115, 216)
HSLhsl(222, 65%, 56%)
HSVhsv(222, 67%, 85%)
CMYKcmyk(66.7%, 46.8%, 0%, 15.3%)
CIE-LABlab(50.21, 17.81, -56.32)
CIE-LCHlch(50.21, 59.06, 287.55°)
OKLaboklab(57.69% -0.0154 -0.1612)
OKLCHoklch(57.69% 0.162 264.5)
XYZxyz(21.1936, 18.5950, 67.4247)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873D8 #D8AD48
analogous
#48BBD8 #4873D8 #6548D8
triadic
#4873D8 #D84873 #73D848
tetradic
#4873D8 #D848BB #D8AD48 #48D865
square
#4873D8 #D848BB #D8AD48 #48D865
split-complementary
#4873D8 #D86548 #BBD848
monochromatic
#1D3D89 #2854BB #4873D8 #7A9AE3 #ADC0EE

Accessibility & contrast

On white

4.45
#4873D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4873D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873D8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873D8#FFFFFF#000000##000000
##4873D81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDC
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4873d8;
/* rgb */ color: rgb(72, 115, 216);
/* oklch */ color: oklch(57.7% 0.162 264.5);
Tailwind
colors: {
  custom: {
    50: '#8a9ae5',
    500: '#4873d8',
    950: '#000000',
  },
}
SCSS
$custom: #4873d8;
$custom-light: #8a9ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4873d8",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 216
  },
  "hsl": {
    "h": 222.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.16199,
    "h": 264.5
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#4873D8
secondary
#DBCAA0
accent
#B640E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4873D8

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

Preview Lab → · Contrast checker → · Palette generator →

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