#4876DB#4876DB

#4876DB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.162 H 263.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4876DB
RGBrgb(72, 118, 219)
HSLhsl(221, 67%, 57%)
HSVhsv(221, 67%, 86%)
CMYKcmyk(67.1%, 46.1%, 0%, 14.1%)
CIE-LABlab(51.21, 17.00, -56.41)
CIE-LCHlch(51.21, 58.92, 286.77°)
OKLaboklab(58.51% -0.0178 -0.1615)
OKLCHoklch(58.51% 0.162 263.7)
XYZxyz(21.9326, 19.4469, 69.6019)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876DB #DBAD48
analogous
#48C0DB #4876DB #6348DB
triadic
#4876DB #DB4876 #76DB48
tetradic
#4876DB #DB48C0 #DBAD48 #48DB63
square
#4876DB #DB48C0 #DBAD48 #48DB63
split-complementary
#4876DB #DB6348 #C0DB48
monochromatic
#1C3F8D #2656C0 #4876DB #7B9CE5 #AEC3EF

Accessibility & contrast

On white

4.29
#4876DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4876DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876DB#FFFFFF#000000##000000
##4876DB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4876db;
/* rgb */ color: rgb(72, 118, 219);
/* oklch */ color: oklch(58.5% 0.162 263.7);
Tailwind
colors: {
  custom: {
    50: '#8a9ce7',
    500: '#4876db',
    950: '#000000',
  },
}
SCSS
$custom: #4876db;
$custom-light: #8a9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4876db",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 221.224,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.16246,
    "h": 263.7
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#4876DB
secondary
#DDCBA2
accent
#B43EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876DB

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

Preview Lab → · Contrast checker → · Palette generator →

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