#4873DB#4873DB

#4873DB is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.166 H 264.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4873DB
RGBrgb(72, 115, 219)
HSLhsl(222, 67%, 57%)
HSVhsv(222, 67%, 86%)
CMYKcmyk(67.1%, 47.5%, 0%, 14.1%)
CIE-LABlab(50.40, 18.87, -57.72)
CIE-LCHlch(50.40, 60.72, 288.10°)
OKLaboklab(57.89% -0.015 -0.1654)
OKLCHoklch(57.89% 0.166 264.8)
XYZxyz(21.5849, 18.7515, 69.4860)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873DB #DBB048
analogous
#48BDDB #4873DB #6748DB
triadic
#4873DB #DB4873 #73DB48
tetradic
#4873DB #DB48BD #DBB048 #48DB67
square
#4873DB #DB48BD #DBB048 #48DB67
split-complementary
#4873DB #DB6748 #BDDB48
monochromatic
#1C3D8D #2653C0 #4873DB #7B9AE5 #AEC1EF

Accessibility & contrast

On white

4.42
#4873DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4873DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873DB#FFFFFF#000000##000000
##4873DB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#1972D9
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4873db;
/* rgb */ color: rgb(72, 115, 219);
/* oklch */ color: oklch(57.9% 0.166 264.8);
Tailwind
colors: {
  custom: {
    50: '#8a9ae7',
    500: '#4873db',
    950: '#000000',
  },
}
SCSS
$custom: #4873db;
$custom-light: #8a9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4873db",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 222.449,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.16605,
    "h": 264.8
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#4873DB
secondary
#DDCCA2
accent
#B83EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4873DB

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

Preview Lab → · Contrast checker → · Palette generator →

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