#4879BE#4879BE

#4879BE is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.4% C 0.120 H 257.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4879BE
RGBrgb(72, 121, 190)
HSLhsl(215, 48%, 51%)
HSVhsv(215, 62%, 75%)
CMYKcmyk(62.1%, 36.3%, 0%, 25.5%)
CIE-LABlab(50.42, 5.06, -41.15)
CIE-LCHlch(50.42, 41.46, 277.00°)
OKLaboklab(57.38% -0.0266 -0.1167)
OKLCHoklch(57.38% 0.12 257.2)
XYZxyz(18.8008, 18.7684, 51.3371)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879BE #BE8D48
analogous
#48B4BE #4879BE #5248BE
triadic
#4879BE #BE4879 #79BE48
tetradic
#4879BE #BE48B4 #BE8D48 #48BE52
square
#4879BE #BE48B4 #BE8D48 #48BE52
split-complementary
#4879BE #BE5248 #B4BE48
monochromatic
#254067 #355C94 #4879BE #759ACE #A2BBDE

Accessibility & contrast

On white

4.42
#4879BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4879BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879BE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879BE#FFFFFF#000000##000000
##4879BE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4879be;
/* rgb */ color: rgb(72, 121, 190);
/* oklch */ color: oklch(57.4% 0.120 257.2);
Tailwind
colors: {
  custom: {
    50: '#859fd2',
    500: '#4879be',
    950: '#000000',
  },
}
SCSS
$custom: #4879be;
$custom-light: #859fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4879be",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 190
  },
  "hsl": {
    "h": 215.085,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.11968,
    "h": 257.2
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#4879BE
secondary
#CBB597
accent
#9F51D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4879BE

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

Preview Lab → · Contrast checker → · Palette generator →

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