#4879E3#4879E3

#4879E3 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.170 H 263.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4879E3
RGBrgb(72, 121, 227)
HSLhsl(221, 73%, 59%)
HSVhsv(221, 68%, 89%)
CMYKcmyk(68.3%, 46.7%, 0%, 11%)
CIE-LABlab(52.50, 17.96, -58.83)
CIE-LCHlch(52.50, 61.51, 286.98°)
OKLaboklab(59.67% -0.0193 -0.1686)
OKLCHoklch(59.67% 0.17 263.5)
XYZxyz(23.3701, 20.5962, 75.4020)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879E3 #E3B248
analogous
#48C7E3 #4879E3 #6448E3
triadic
#4879E3 #E34879 #79E348
tetradic
#4879E3 #E348C7 #E3B248 #48E364
square
#4879E3 #E348C7 #E3B248 #48E364
split-complementary
#4879E3 #E36448 #C7E348
monochromatic
#174099 #2057CE #4879E3 #7DA0EB #B2C7F3

Accessibility & contrast

On white

4.10
#4879E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4879E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879E3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879E3#FFFFFF#000000##000000
##4879E31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E7
Deuteranopia (green-blind)
#1E77E1
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4879e3;
/* rgb */ color: rgb(72, 121, 227);
/* oklch */ color: oklch(59.7% 0.170 263.5);
Tailwind
colors: {
  custom: {
    50: '#8c9fec',
    500: '#4879e3',
    950: '#000000',
  },
}
SCSS
$custom: #4879e3;
$custom-light: #8c9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4879e3",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 227
  },
  "hsl": {
    "h": 221.032,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.16966,
    "h": 263.5
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#4879E3
secondary
#E2CFA5
accent
#B638F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4879E3

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

Preview Lab → · Contrast checker → · Palette generator →

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