#4874BB#4874BB

#4874BB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.1% C 0.121 H 259.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4874BB
RGBrgb(72, 116, 187)
HSLhsl(217, 46%, 51%)
HSVhsv(217, 61%, 73%)
CMYKcmyk(61.5%, 38%, 0%, 26.7%)
CIE-LABlab(48.83, 7.08, -41.94)
CIE-LCHlch(48.83, 42.53, 279.59°)
OKLaboklab(56.09% -0.0219 -0.119)
OKLCHoklch(56.09% 0.121 259.6)
XYZxyz(17.8844, 17.4548, 49.4307)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874BB #BB8F48
analogous
#48AEBB #4874BB #5548BB
triadic
#4874BB #BB4874 #74BB48
tetradic
#4874BB #BB48AE #BB8F48 #48BB55
square
#4874BB #BB48AE #BB8F48 #48BB55
split-complementary
#4874BB #BB5548 #AEBB48
monochromatic
#253D64 #365890 #4874BB #7596CC #A1B8DC

Accessibility & contrast

On white

4.68
#4874BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4874BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4874BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874BB#FFFFFF#000000##FFFFFF
##4874BB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4874bb;
/* rgb */ color: rgb(72, 116, 187);
/* oklch */ color: oklch(56.1% 0.121 259.6);
Tailwind
colors: {
  custom: {
    50: '#859bd0',
    500: '#4874bb',
    950: '#000000',
  },
}
SCSS
$custom: #4874bb;
$custom-light: #859bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4874bb",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 217.043,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.12105,
    "h": 259.6
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#4874BB
secondary
#C9B596
accent
#A352D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4874BB

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

Preview Lab → · Contrast checker → · Palette generator →

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