#4878BB#4878BB

#4878BB is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.117 H 257.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4878BB
RGBrgb(72, 120, 187)
HSLhsl(215, 46%, 51%)
HSVhsv(215, 61%, 73%)
CMYKcmyk(61.5%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.97, 4.64, -40.13)
CIE-LCHlch(49.97, 40.39, 276.59°)
OKLaboklab(56.98% -0.0263 -0.1137)
OKLCHoklch(56.98% 0.117 257)
XYZxyz(18.3554, 18.3968, 49.5877)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4878BB #BB8B48
analogous
#48B1BB #4878BB #5148BB
triadic
#4878BB #BB4878 #78BB48
tetradic
#4878BB #BB48B1 #BB8B48 #48BB51
square
#4878BB #BB48B1 #BB8B48 #48BB51
split-complementary
#4878BB #BB5148 #B1BB48
monochromatic
#253F64 #365B90 #4878BB #7599CC #A1BADC

Accessibility & contrast

On white

4.49
#4878BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4878BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4878BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4878BB#FFFFFF#000000##000000
##4878BB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4878bb;
/* rgb */ color: rgb(72, 120, 187);
/* oklch */ color: oklch(57.0% 0.117 257.0);
Tailwind
colors: {
  custom: {
    50: '#859ed0',
    500: '#4878bb',
    950: '#000000',
  },
}
SCSS
$custom: #4878bb;
$custom-light: #859ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4878bb",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 214.957,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.11669,
    "h": 257
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#4878BB
secondary
#C9B496
accent
#9F52D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4878BB

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

Preview Lab → · Contrast checker → · Palette generator →

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