#4874E1#4874E1

#4874E1 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.173 H 265.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4874E1
RGBrgb(72, 116, 225)
HSLhsl(223, 72%, 58%)
HSVhsv(223, 68%, 88%)
CMYKcmyk(68%, 48.4%, 0%, 11.8%)
CIE-LABlab(51.04, 20.36, -60.07)
CIE-LCHlch(51.04, 63.42, 288.72°)
OKLaboklab(58.51% -0.0151 -0.1723)
OKLCHoklch(58.51% 0.173 265)
XYZxyz(22.5037, 19.3025, 73.7594)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874E1 #E1B548
analogous
#48C0E1 #4874E1 #6848E1
triadic
#4874E1 #E14874 #74E148
tetradic
#4874E1 #E148C0 #E1B548 #48E168
square
#4874E1 #E148C0 #E1B548 #48E168
split-complementary
#4874E1 #E16848 #C0E148
monochromatic
#193D96 #2152CB #4874E1 #7D9CEA #B1C4F2

Accessibility & contrast

On white

4.32
#4874E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4874E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874E1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874E1#FFFFFF#000000##000000
##4874E11.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)
#3881E5
Deuteranopia (green-blind)
#0873DF
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4874e1;
/* rgb */ color: rgb(72, 116, 225);
/* oklch */ color: oklch(58.5% 0.173 265.0);
Tailwind
colors: {
  custom: {
    50: '#8b9beb',
    500: '#4874e1',
    950: '#000000',
  },
}
SCSS
$custom: #4874e1;
$custom-light: #8b9beb;
$custom-dark: #000000;
JSON
{
  "hex": "#4874e1",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 222.745,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58506,
    "c": 0.17293,
    "h": 265
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#4874E1
secondary
#E1CFA4
accent
#BA39EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4874E1

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

Preview Lab → · Contrast checker → · Palette generator →

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