#4874D2#4874D2

#4874D2 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.5% C 0.153 H 263.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4874D2
RGBrgb(72, 116, 210)
HSLhsl(221, 61%, 55%)
HSVhsv(221, 66%, 82%)
CMYKcmyk(65.7%, 44.8%, 0%, 17.6%)
CIE-LABlab(50.12, 15.08, -53.05)
CIE-LCHlch(50.12, 55.16, 285.87°)
OKLaboklab(57.51% -0.0173 -0.1516)
OKLCHoklch(57.51% 0.153 263.5)
XYZxyz(20.5467, 18.5197, 63.4521)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874D2 #D2A648
analogous
#48B9D2 #4874D2 #6148D2
triadic
#4874D2 #D24874 #74D248
tetradic
#4874D2 #D248B9 #D2A648 #48D261
square
#4874D2 #D248B9 #D2A648 #48D261
split-complementary
#4874D2 #D26148 #B9D248
monochromatic
#203E80 #2C56B1 #4874D2 #7999DE #AABFEA

Accessibility & contrast

On white

4.46
#4874D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4874D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874D2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874D2#FFFFFF#000000##000000
##4874D21.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4874d2;
/* rgb */ color: rgb(72, 116, 210);
/* oklch */ color: oklch(57.5% 0.153 263.5);
Tailwind
colors: {
  custom: {
    50: '#899be0',
    500: '#4874d2',
    950: '#000000',
  },
}
SCSS
$custom: #4874d2;
$custom-light: #899be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4874d2",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 220.87,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.15263,
    "h": 263.5
  },
  "luminance": 0.18522
}

Semantic roles & 50–950 ramp

primary
#4874D2
secondary
#D8C59E
accent
#B144E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4874D2

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

Preview Lab → · Contrast checker → · Palette generator →

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