#4878BC#4878BC

#4878BC is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.0% C 0.118 H 257.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4878BC
RGBrgb(72, 120, 188)
HSLhsl(215, 46%, 51%)
HSVhsv(215, 62%, 74%)
CMYKcmyk(61.7%, 36.2%, 0%, 26.3%)
CIE-LABlab(50.03, 4.98, -40.62)
CIE-LCHlch(50.03, 40.93, 276.99°)
OKLaboklab(57.04% -0.026 -0.1151)
OKLCHoklch(57.04% 0.118 257.3)
XYZxyz(18.4628, 18.4398, 50.1535)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4878BC #BC8C48
analogous
#48B2BC #4878BC #5248BC
triadic
#4878BC #BC4878 #78BC48
tetradic
#4878BC #BC48B2 #BC8C48 #48BC52
square
#4878BC #BC48B2 #BC8C48 #48BC52
split-complementary
#4878BC #BC5248 #B2BC48
monochromatic
#253F65 #355B92 #4878BC #7599CC #A2BADD

Accessibility & contrast

On white

4.48
#4878BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4878BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4878BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4878BC#FFFFFF#000000##000000
##4878BC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4878bc;
/* rgb */ color: rgb(72, 120, 188);
/* oklch */ color: oklch(57.0% 0.118 257.3);
Tailwind
colors: {
  custom: {
    50: '#859ed0',
    500: '#4878bc',
    950: '#000000',
  },
}
SCSS
$custom: #4878bc;
$custom-light: #859ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4878bc",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 215.172,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.11804,
    "h": 257.3
  },
  "luminance": 0.18441
}

Semantic roles & 50–950 ramp

primary
#4878BC
secondary
#CAB496
accent
#9F52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4878BC

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

Preview Lab → · Contrast checker → · Palette generator →

#4878BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva