#4878BE#4878BE

#4878BE is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.2% C 0.121 H 257.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4878BE
RGBrgb(72, 120, 190)
HSLhsl(216, 48%, 51%)
HSVhsv(216, 62%, 75%)
CMYKcmyk(62.1%, 36.8%, 0%, 25.5%)
CIE-LABlab(50.13, 5.66, -41.61)
CIE-LCHlch(50.13, 41.99, 277.75°)
OKLaboklab(57.15% -0.0255 -0.118)
OKLCHoklch(57.15% 0.121 257.8)
XYZxyz(18.6799, 18.5267, 51.2968)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4878BE #BE8E48
analogous
#48B3BE #4878BE #5348BE
triadic
#4878BE #BE4878 #78BE48
tetradic
#4878BE #BE48B3 #BE8E48 #48BE53
square
#4878BE #BE48B3 #BE8E48 #48BE53
split-complementary
#4878BE #BE5348 #B3BE48
monochromatic
#254067 #355B94 #4878BE #7599CE #A2BBDE

Accessibility & contrast

On white

4.46
#4878BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4878BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4878BE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4878BE#FFFFFF#000000##000000
##4878BE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC1
Deuteranopia (green-blind)
#4A72BD
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4878be;
/* rgb */ color: rgb(72, 120, 190);
/* oklch */ color: oklch(57.2% 0.121 257.8);
Tailwind
colors: {
  custom: {
    50: '#859ed2',
    500: '#4878be',
    950: '#000000',
  },
}
SCSS
$custom: #4878be;
$custom-light: #859ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4878be",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 215.593,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.12076,
    "h": 257.8
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#4878BE
secondary
#CBB697
accent
#A051D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4878BE

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

Preview Lab → · Contrast checker → · Palette generator →

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