#4879DA#4879DA

#4879DA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.158 H 262.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4879DA
RGBrgb(72, 121, 218)
HSLhsl(220, 66%, 57%)
HSVhsv(220, 67%, 85%)
CMYKcmyk(67%, 44.5%, 0%, 14.5%)
CIE-LABlab(51.96, 14.79, -54.63)
CIE-LCHlch(51.96, 56.60, 285.15°)
OKLaboklab(59.08% -0.0207 -0.1562)
OKLCHoklch(59.08% 0.158 262.4)
XYZxyz(22.1603, 20.1122, 69.0303)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879DA #DAA948
analogous
#48C2DA #4879DA #6048DA
triadic
#4879DA #DA4879 #79DA48
tetradic
#4879DA #DA48C2 #DAA948 #48DA60
square
#4879DA #DA48C2 #DAA948 #48DA60
split-complementary
#4879DA #DA6048 #C2DA48
monochromatic
#1C428B #2659BE #4879DA #7B9EE4 #AEC4EF

Accessibility & contrast

On white

4.18
#4879DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4879DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879DA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879DA#FFFFFF#000000##000000
##4879DA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DE
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4879da;
/* rgb */ color: rgb(72, 121, 218);
/* oklch */ color: oklch(59.1% 0.158 262.4);
Tailwind
colors: {
  custom: {
    50: '#8a9fe6',
    500: '#4879da',
    950: '#000000',
  },
}
SCSS
$custom: #4879da;
$custom-light: #8a9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4879da",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 219.863,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59077,
    "c": 0.15758,
    "h": 262.4
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#4879DA
secondary
#DDC9A1
accent
#B03FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4879DA

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

Preview Lab → · Contrast checker → · Palette generator →

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