#4874E5#4874E5

#4874E5 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.178 H 265.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4874E5
RGBrgb(72, 116, 229)
HSLhsl(223, 75%, 59%)
HSVhsv(223, 69%, 90%)
CMYKcmyk(68.6%, 49.3%, 0%, 10.2%)
CIE-LABlab(51.29, 21.77, -61.90)
CIE-LCHlch(51.29, 65.62, 289.37°)
OKLaboklab(58.78% -0.0146 -0.1777)
OKLCHoklch(58.78% 0.178 265.3)
XYZxyz(23.0558, 19.5233, 76.6669)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874E5 #E5B948
analogous
#48C3E5 #4874E5 #6B48E5
triadic
#4874E5 #E54874 #74E548
tetradic
#4874E5 #E548C3 #E5B948 #48E56B
square
#4874E5 #E548C3 #E5B948 #48E56B
split-complementary
#4874E5 #E56B48 #C3E548
monochromatic
#163C9C #1E50D2 #4874E5 #7E9DED #B3C5F4

Accessibility & contrast

On white

4.28
#4874E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4874E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874E5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874E5#FFFFFF#000000##000000
##4874E51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4874e5;
/* rgb */ color: rgb(72, 116, 229);
/* oklch */ color: oklch(58.8% 0.178 265.3);
Tailwind
colors: {
  custom: {
    50: '#8c9bee',
    500: '#4874e5',
    950: '#000000',
  },
}
SCSS
$custom: #4874e5;
$custom-light: #8c9bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4874e5",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 223.185,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58781,
    "c": 0.17828,
    "h": 265.3
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4874E5

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

Preview Lab → · Contrast checker → · Palette generator →

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