#4873E1#4873E1

#4873E1 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.3% C 0.174 H 265.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4873E1
RGBrgb(72, 115, 225)
HSLhsl(223, 72%, 58%)
HSVhsv(223, 68%, 88%)
CMYKcmyk(68%, 48.9%, 0%, 11.8%)
CIE-LABlab(50.77, 20.98, -60.49)
CIE-LCHlch(50.77, 64.03, 289.13°)
OKLaboklab(58.3% -0.0142 -0.1735)
OKLCHoklch(58.3% 0.174 265.3)
XYZxyz(22.3891, 19.0732, 73.7211)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873E1 #E1B648
analogous
#48C0E1 #4873E1 #6948E1
triadic
#4873E1 #E14873 #73E148
tetradic
#4873E1 #E148C0 #E1B648 #48E169
square
#4873E1 #E148C0 #E1B648 #48E169
split-complementary
#4873E1 #E16948 #C0E148
monochromatic
#193C96 #2151CB #4873E1 #7D9BEA #B1C3F2

Accessibility & contrast

On white

4.36
#4873E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4873E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873E1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873E1#FFFFFF#000000##000000
##4873E11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3580E5
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4873e1;
/* rgb */ color: rgb(72, 115, 225);
/* oklch */ color: oklch(58.3% 0.174 265.3);
Tailwind
colors: {
  custom: {
    50: '#8c9aeb',
    500: '#4873e1',
    950: '#000000',
  },
}
SCSS
$custom: #4873e1;
$custom-light: #8c9aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4873e1",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 225
  },
  "hsl": {
    "h": 223.137,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.17412,
    "h": 265.3
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#4873E1
secondary
#E1D0A4
accent
#BC39EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4873E1

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

Preview Lab → · Contrast checker → · Palette generator →

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