#4875BD#4875BD

#4875BD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.4% C 0.123 H 259.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4875BD
RGBrgb(72, 117, 189)
HSLhsl(217, 47%, 51%)
HSVhsv(217, 62%, 74%)
CMYKcmyk(61.9%, 38.1%, 0%, 25.9%)
CIE-LABlab(49.22, 7.16, -42.47)
CIE-LCHlch(49.22, 43.07, 279.56°)
OKLaboklab(56.43% -0.0225 -0.1206)
OKLCHoklch(56.43% 0.123 259.4)
XYZxyz(18.2158, 17.7728, 50.6048)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875BD #BD9048
analogous
#48AFBD #4875BD #5548BD
triadic
#4875BD #BD4875 #75BD48
tetradic
#4875BD #BD48AF #BD9048 #48BD55
square
#4875BD #BD48AF #BD9048 #48BD55
split-complementary
#4875BD #BD5548 #AFBD48
monochromatic
#253E66 #355993 #4875BD #7597CD #A2B9DD

Accessibility & contrast

On white

4.61
#4875BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4875BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4875BD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875BD#FFFFFF#000000##FFFFFF
##4875BD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#567BC0
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4875bd;
/* rgb */ color: rgb(72, 117, 189);
/* oklch */ color: oklch(56.4% 0.123 259.4);
Tailwind
colors: {
  custom: {
    50: '#859cd1',
    500: '#4875bd',
    950: '#000000',
  },
}
SCSS
$custom: #4875bd;
$custom-light: #859cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4875bd",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 189
  },
  "hsl": {
    "h": 216.923,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.12268,
    "h": 259.4
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#4875BD
secondary
#CAB697
accent
#A351D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4875BD

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

Preview Lab → · Contrast checker → · Palette generator →

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