#4875BA#4875BA

#4875BA is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.3% C 0.119 H 258.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4875BA
RGBrgb(72, 117, 186)
HSLhsl(216, 45%, 51%)
HSVhsv(216, 61%, 73%)
CMYKcmyk(61.3%, 37.1%, 0%, 27.1%)
CIE-LABlab(49.06, 6.13, -40.99)
CIE-LCHlch(49.06, 41.45, 278.50°)
OKLaboklab(56.25% -0.0233 -0.1163)
OKLCHoklch(56.25% 0.119 258.7)
XYZxyz(17.8936, 17.6439, 48.9075)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875BA #BA8D48
analogous
#48AEBA #4875BA #5448BA
triadic
#4875BA #BA4875 #75BA48
tetradic
#4875BA #BA48AE #BA8D48 #48BA54
square
#4875BA #BA48AE #BA8D48 #48BA54
split-complementary
#4875BA #BA5448 #AEBA48
monochromatic
#253D62 #36598F #4875BA #7497CB #A1B8DC

Accessibility & contrast

On white

4.64
#4875BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4875BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4875BA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875BA#FFFFFF#000000##FFFFFF
##4875BA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587ABD
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4875ba;
/* rgb */ color: rgb(72, 117, 186);
/* oklch */ color: oklch(56.3% 0.119 258.7);
Tailwind
colors: {
  custom: {
    50: '#859ccf',
    500: '#4875ba',
    950: '#000000',
  },
}
SCSS
$custom: #4875ba;
$custom-light: #859ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#4875ba",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 186
  },
  "hsl": {
    "h": 216.316,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.11857,
    "h": 258.7
  },
  "luminance": 0.17645
}

Semantic roles & 50–950 ramp

primary
#4875BA
secondary
#C8B496
accent
#A253D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4875BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4875BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva