#4873E8#4873E8

#4873E8 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.183 H 265.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4873E8
RGBrgb(72, 115, 232)
HSLhsl(224, 78%, 60%)
HSVhsv(224, 69%, 91%)
CMYKcmyk(69%, 50.4%, 0%, 9%)
CIE-LABlab(51.22, 23.45, -63.70)
CIE-LCHlch(51.22, 67.88, 290.21°)
OKLaboklab(58.79% -0.0135 -0.183)
OKLCHoklch(58.79% 0.183 265.8)
XYZxyz(23.3636, 19.4630, 78.8537)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873E8 #E8BD48
analogous
#48C3E8 #4873E8 #6D48E8
triadic
#4873E8 #E84873 #73E848
tetradic
#4873E8 #E848C3 #E8BD48 #48E86D
square
#4873E8 #E848C3 #E8BD48 #48E86D
split-complementary
#4873E8 #E86D48 #C3E848
monochromatic
#143AA1 #1B4ED8 #4873E8 #7E9DEF #B5C6F6

Accessibility & contrast

On white

4.29
#4873E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4873E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873E8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873E8#FFFFFF#000000##000000
##4873E81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C82EC
Deuteranopia (green-blind)
#0073E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4873e8;
/* rgb */ color: rgb(72, 115, 232);
/* oklch */ color: oklch(58.8% 0.183 265.8);
Tailwind
colors: {
  custom: {
    50: '#8d9af0',
    500: '#4873e8',
    950: '#000000',
  },
}
SCSS
$custom: #4873e8;
$custom-light: #8d9af0;
$custom-dark: #000000;
JSON
{
  "hex": "#4873e8",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 223.875,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58791,
    "c": 0.18348,
    "h": 265.8
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#4873E8
secondary
#E5D4A7
accent
#C034F4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4873E8

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

Preview Lab → · Contrast checker → · Palette generator →

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