#4873EF#4873EF

#4873EF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.3% C 0.193 H 266.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4873EF
RGBrgb(72, 115, 239)
HSLhsl(225, 84%, 61%)
HSVhsv(225, 70%, 94%)
CMYKcmyk(69.9%, 51.9%, 0%, 6.3%)
CIE-LABlab(51.69, 25.92, -66.87)
CIE-LCHlch(51.69, 71.71, 291.19°)
OKLaboklab(59.29% -0.0128 -0.1923)
OKLCHoklch(59.29% 0.193 266.2)
XYZxyz(24.3778, 19.8687, 84.1949)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873EF #EFC448
analogous
#48C6EF #4873EF #7048EF
triadic
#4873EF #EF4873 #73EF48
tetradic
#4873EF #EF48C6 #EFC448 #48EF70
square
#4873EF #EF48C6 #EFC448 #48EF70
split-complementary
#4873EF #EF7048 #C6EF48
monochromatic
#0F38AD #144AE6 #4873EF #809EF4 #B9C9F9

Accessibility & contrast

On white

4.22
#4873EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4873EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4873EF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873EF#FFFFFF#000000##000000
##4873EF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F3
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4873ef;
/* rgb */ color: rgb(72, 115, 239);
/* oklch */ color: oklch(59.3% 0.193 266.2);
Tailwind
colors: {
  custom: {
    50: '#8e9af5',
    500: '#4873ef',
    950: '#000000',
  },
}
SCSS
$custom: #4873ef;
$custom-light: #8e9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#4873ef",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 224.551,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.19273,
    "h": 266.2
  },
  "luminance": 0.19871
}

Semantic roles & 50–950 ramp

primary
#4873EF
secondary
#E9D9AA
accent
#A805E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4873EF

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

Preview Lab → · Contrast checker → · Palette generator →

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