#4879DB#4879DB

#4879DB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.159 H 262.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4879DB
RGBrgb(72, 121, 219)
HSLhsl(220, 67%, 57%)
HSVhsv(220, 67%, 86%)
CMYKcmyk(67.1%, 44.7%, 0%, 14.1%)
CIE-LABlab(52.02, 15.14, -55.10)
CIE-LCHlch(52.02, 57.15, 285.37°)
OKLaboklab(59.14% -0.0205 -0.1576)
OKLCHoklch(59.14% 0.159 262.6)
XYZxyz(22.2915, 20.1647, 69.7215)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879DB #DBAA48
analogous
#48C3DB #4879DB #6148DB
triadic
#4879DB #DB4879 #79DB48
tetradic
#4879DB #DB48C3 #DBAA48 #48DB61
square
#4879DB #DB48C3 #DBAA48 #48DB61
split-complementary
#4879DB #DB6148 #C3DB48
monochromatic
#1C418D #2659C0 #4879DB #7B9EE5 #AEC4EF

Accessibility & contrast

On white

4.17
#4879DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4879DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879DB#FFFFFF#000000##000000
##4879DB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DF
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4879db;
/* rgb */ color: rgb(72, 121, 219);
/* oklch */ color: oklch(59.1% 0.159 262.6);
Tailwind
colors: {
  custom: {
    50: '#8a9fe7',
    500: '#4879db',
    950: '#000000',
  },
}
SCSS
$custom: #4879db;
$custom-light: #8a9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4879db",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 220,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.15893,
    "h": 262.6
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#4879DB
secondary
#DDC9A2
accent
#B13EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4879DB

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

Preview Lab → · Contrast checker → · Palette generator →

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