#4879BF#4879BF

#4879BF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.4% C 0.121 H 257.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4879BF
RGBrgb(72, 121, 191)
HSLhsl(215, 48%, 52%)
HSVhsv(215, 62%, 75%)
CMYKcmyk(62.3%, 36.6%, 0%, 25.1%)
CIE-LABlab(50.47, 5.40, -41.65)
CIE-LCHlch(50.47, 42.00, 277.39°)
OKLaboklab(57.43% -0.0263 -0.1181)
OKLCHoklch(57.43% 0.121 257.4)
XYZxyz(18.9105, 18.8123, 51.9147)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879BF #BF8E48
analogous
#48B5BF #4879BF #5348BF
triadic
#4879BF #BF4879 #79BF48
tetradic
#4879BF #BF48B5 #BF8E48 #48BF53
square
#4879BF #BF48B5 #BF8E48 #48BF53
split-complementary
#4879BF #BF5348 #B5BF48
monochromatic
#244068 #345C96 #4879BF #759ACF #A3BBDF

Accessibility & contrast

On white

4.41
#4879BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4879BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879BF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879BF#FFFFFF#000000##000000
##4879BF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4879bf;
/* rgb */ color: rgb(72, 121, 191);
/* oklch */ color: oklch(57.4% 0.121 257.4);
Tailwind
colors: {
  custom: {
    50: '#869fd2',
    500: '#4879bf',
    950: '#000000',
  },
}
SCSS
$custom: #4879bf;
$custom-light: #869fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4879bf",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 215.294,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.12103,
    "h": 257.4
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#4879BF
secondary
#CCB697
accent
#A050D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4879BF

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

Preview Lab → · Contrast checker → · Palette generator →

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