#4874B2#4874B2

#4874B2 is a mid, moderate blue. Relative luminance 0.171; OKLCH L 55.6% C 0.109 H 257.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4874B2
RGBrgb(72, 116, 178)
HSLhsl(215, 42%, 49%)
HSVhsv(215, 60%, 70%)
CMYKcmyk(59.6%, 34.8%, 0%, 30.2%)
CIE-LABlab(48.36, 4.02, -37.47)
CIE-LCHlch(48.36, 37.68, 276.12°)
OKLaboklab(55.58% -0.0242 -0.106)
OKLCHoklch(55.58% 0.109 257.1)
XYZxyz(16.9509, 17.0814, 44.5146)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874B2 #B28648
analogous
#48A9B2 #4874B2 #5148B2
triadic
#4874B2 #B24874 #74B248
tetradic
#4874B2 #B248A9 #B28648 #48B251
square
#4874B2 #B248A9 #B28648 #48B251
split-complementary
#4874B2 #B25148 #A9B248
monochromatic
#253B5B #365886 #4874B2 #7194C6 #9DB5D7

Accessibility & contrast

On white

4.75
#4874B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4874B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4874B2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874B2#FFFFFF#000000##FFFFFF
##4874B21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4874b2;
/* rgb */ color: rgb(72, 116, 178);
/* oklch */ color: oklch(55.6% 0.109 257.1);
Tailwind
colors: {
  custom: {
    50: '#849bc9',
    500: '#4874b2',
    950: '#000000',
  },
}
SCSS
$custom: #4874b2;
$custom-light: #849bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4874b2",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 215.094,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.10871,
    "h": 257.1
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#4874B2
secondary
#C4AF92
accent
#9E56D2
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4874B2

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

Preview Lab → · Contrast checker → · Palette generator →

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