#4873DF#4873DF

#4873DF is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.2% C 0.171 H 265.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4873DF
RGBrgb(72, 115, 223)
HSLhsl(223, 70%, 58%)
HSVhsv(223, 68%, 87%)
CMYKcmyk(67.7%, 48.4%, 0%, 12.5%)
CIE-LABlab(50.65, 20.28, -59.57)
CIE-LCHlch(50.65, 62.93, 288.80°)
OKLaboklab(58.17% -0.0145 -0.1708)
OKLCHoklch(58.17% 0.171 265.1)
XYZxyz(22.1178, 18.9647, 72.2927)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873DF #DFB448
analogous
#48BEDF #4873DF #6848DF
triadic
#4873DF #DF4873 #73DF48
tetradic
#4873DF #DF48BE #DFB448 #48DF68
square
#4873DF #DF48BE #DFB448 #48DF68
split-complementary
#4873DF #DF6848 #BEDF48
monochromatic
#1A3C93 #2352C7 #4873DF #7C9BE8 #B0C3F1

Accessibility & contrast

On white

4.38
#4873DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4873DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873DF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873DF#FFFFFF#000000##000000
##4873DF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#0A72DD
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4873df;
/* rgb */ color: rgb(72, 115, 223);
/* oklch */ color: oklch(58.2% 0.171 265.1);
Tailwind
colors: {
  custom: {
    50: '#8b9aea',
    500: '#4873df',
    950: '#000000',
  },
}
SCSS
$custom: #4873df;
$custom-light: #8b9aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4873df",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 222.914,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.17144,
    "h": 265.1
  },
  "luminance": 0.18967
}

Semantic roles & 50–950 ramp

primary
#4873DF
secondary
#E0CEA3
accent
#BA3BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4873DF

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

Preview Lab → · Contrast checker → · Palette generator →

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