#4879E1#4879E1

#4879E1 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.167 H 263.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4879E1
RGBrgb(72, 121, 225)
HSLhsl(221, 72%, 58%)
HSVhsv(221, 68%, 88%)
CMYKcmyk(68%, 46.2%, 0%, 11.8%)
CIE-LABlab(52.38, 17.26, -57.91)
CIE-LCHlch(52.38, 60.42, 286.59°)
OKLaboklab(59.53% -0.0196 -0.1658)
OKLCHoklch(59.53% 0.167 263.3)
XYZxyz(23.0957, 20.4864, 73.9567)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879E1 #E1B048
analogous
#48C6E1 #4879E1 #6348E1
triadic
#4879E1 #E14879 #79E148
tetradic
#4879E1 #E148C6 #E1B048 #48E163
square
#4879E1 #E148C6 #E1B048 #48E163
split-complementary
#4879E1 #E16348 #C6E148
monochromatic
#194196 #2157CB #4879E1 #7DA0EA #B1C6F2

Accessibility & contrast

On white

4.12
#4879E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4879E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879E1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879E1#FFFFFF#000000##000000
##4879E11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E5
Deuteranopia (green-blind)
#2376DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4879e1;
/* rgb */ color: rgb(72, 121, 225);
/* oklch */ color: oklch(59.5% 0.167 263.3);
Tailwind
colors: {
  custom: {
    50: '#8b9feb',
    500: '#4879e1',
    950: '#000000',
  },
}
SCSS
$custom: #4879e1;
$custom-light: #8b9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4879e1",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 220.784,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.16698,
    "h": 263.3
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#4879E1
secondary
#E1CDA4
accent
#B439EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4879E1

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

Preview Lab → · Contrast checker → · Palette generator →

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