#4873E5#4873E5

#4873E5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.179 H 265.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4873E5
RGBrgb(72, 115, 229)
HSLhsl(224, 75%, 59%)
HSVhsv(224, 69%, 90%)
CMYKcmyk(68.6%, 49.8%, 0%, 10.2%)
CIE-LABlab(51.03, 22.39, -62.33)
CIE-LCHlch(51.03, 66.23, 289.76°)
OKLaboklab(58.58% -0.0138 -0.1789)
OKLCHoklch(58.58% 0.179 265.6)
XYZxyz(22.9411, 19.2940, 76.6286)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873E5 #E5BA48
analogous
#48C2E5 #4873E5 #6C48E5
triadic
#4873E5 #E54873 #73E548
tetradic
#4873E5 #E548C2 #E5BA48 #48E56C
square
#4873E5 #E548C2 #E5BA48 #48E56C
split-complementary
#4873E5 #E56C48 #C2E548
monochromatic
#163B9C #1E4FD2 #4873E5 #7E9CED #B3C5F4

Accessibility & contrast

On white

4.32
#4873E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4873E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873E5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873E5#FFFFFF#000000##000000
##4873E51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3081E9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4873e5;
/* rgb */ color: rgb(72, 115, 229);
/* oklch */ color: oklch(58.6% 0.179 265.6);
Tailwind
colors: {
  custom: {
    50: '#8c9aee',
    500: '#4873e5',
    950: '#000000',
  },
}
SCSS
$custom: #4873e5;
$custom-light: #8c9aee;
$custom-dark: #000000;
JSON
{
  "hex": "#4873e5",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 229
  },
  "hsl": {
    "h": 223.567,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.17948,
    "h": 265.6
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

primary
#4873E5
secondary
#E3D2A6
accent
#BE36F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4873E5

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

Preview Lab → · Contrast checker → · Palette generator →

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