#4874BD#4874BD

#4874BD is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.124 H 260.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4874BD
RGBrgb(72, 116, 189)
HSLhsl(217, 47%, 51%)
HSVhsv(217, 62%, 74%)
CMYKcmyk(61.9%, 38.6%, 0%, 25.9%)
CIE-LABlab(48.93, 7.77, -42.92)
CIE-LCHlch(48.93, 43.62, 280.26°)
OKLaboklab(56.21% -0.0215 -0.1219)
OKLCHoklch(56.21% 0.124 260)
XYZxyz(18.1000, 17.5410, 50.5661)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874BD #BD9148
analogous
#48AEBD #4874BD #5648BD
triadic
#4874BD #BD4874 #74BD48
tetradic
#4874BD #BD48AE #BD9148 #48BD56
square
#4874BD #BD48AE #BD9148 #48BD56
split-complementary
#4874BD #BD5648 #AEBD48
monochromatic
#253D66 #355893 #4874BD #7596CD #A2B8DD

Accessibility & contrast

On white

4.66
#4874BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4874BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4874BD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874BD#FFFFFF#000000##FFFFFF
##4874BD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4874bd;
/* rgb */ color: rgb(72, 116, 189);
/* oklch */ color: oklch(56.2% 0.124 260.0);
Tailwind
colors: {
  custom: {
    50: '#859bd1',
    500: '#4874bd',
    950: '#000000',
  },
}
SCSS
$custom: #4874bd;
$custom-light: #859bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4874bd",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 189
  },
  "hsl": {
    "h": 217.436,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.1238,
    "h": 260
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#4874BD
secondary
#CAB797
accent
#A451D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4874BD

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

Preview Lab → · Contrast checker → · Palette generator →

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