#4879DF#4879DF

#4879DF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.164 H 263.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4879DF
RGBrgb(72, 121, 223)
HSLhsl(221, 70%, 58%)
HSVhsv(221, 68%, 87%)
CMYKcmyk(67.7%, 45.7%, 0%, 12.5%)
CIE-LABlab(52.26, 16.55, -56.97)
CIE-LCHlch(52.26, 59.33, 286.20°)
OKLaboklab(59.4% -0.0199 -0.1631)
OKLCHoklch(59.4% 0.164 263)
XYZxyz(22.8244, 20.3779, 72.5282)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879DF #DFAE48
analogous
#48C4DF #4879DF #6248DF
triadic
#4879DF #DF4879 #79DF48
tetradic
#4879DF #DF48C4 #DFAE48 #48DF62
square
#4879DF #DF48C4 #DFAE48 #48DF62
split-complementary
#4879DF #DF6248 #C4DF48
monochromatic
#1A4193 #2358C7 #4879DF #7C9FE8 #B0C5F1

Accessibility & contrast

On white

4.14
#4879DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4879DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879DF#FFFFFF#000000##000000
##4879DF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#2776DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4879df;
/* rgb */ color: rgb(72, 121, 223);
/* oklch */ color: oklch(59.4% 0.164 263.0);
Tailwind
colors: {
  custom: {
    50: '#8b9fe9',
    500: '#4879df',
    950: '#000000',
  },
}
SCSS
$custom: #4879df;
$custom-light: #8b9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4879df",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 220.53,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.16431,
    "h": 263
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#4879DF
secondary
#E0CCA3
accent
#B33BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4879DF

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

Preview Lab → · Contrast checker → · Palette generator →

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