#4874C8#4874C8

#4874C8 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.139 H 262.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4874C8
RGBrgb(72, 116, 200)
HSLhsl(219, 54%, 53%)
HSVhsv(219, 64%, 78%)
CMYKcmyk(64%, 42%, 0%, 21.6%)
CIE-LABlab(49.54, 11.58, -48.28)
CIE-LCHlch(49.54, 49.65, 283.49°)
OKLaboklab(56.87% -0.0191 -0.1376)
OKLCHoklch(56.87% 0.139 262.1)
XYZxyz(19.3395, 18.0368, 57.0947)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874C8 #C89C48
analogous
#48B4C8 #4874C8 #5C48C8
triadic
#4874C8 #C84874 #74C848
tetradic
#4874C8 #C848B4 #C89C48 #48C85C
square
#4874C8 #C848B4 #C89C48 #48C85C
split-complementary
#4874C8 #C85C48 #B4C848
monochromatic
#233E73 #3158A2 #4874C8 #7798D6 #A6BBE4

Accessibility & contrast

On white

4.56
#4874C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4874C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874C8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874C8#FFFFFF#000000##000000
##4874C81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#3A70C6
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4874c8;
/* rgb */ color: rgb(72, 116, 200);
/* oklch */ color: oklch(56.9% 0.139 262.1);
Tailwind
colors: {
  custom: {
    50: '#879bd9',
    500: '#4874c8',
    950: '#000000',
  },
}
SCSS
$custom: #4874c8;
$custom-light: #879bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4874c8",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 219.375,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.13894,
    "h": 262.1
  },
  "luminance": 0.18039
}

Semantic roles & 50–950 ramp

primary
#4874C8
secondary
#D1BE9A
accent
#AB4BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4874C8

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

Preview Lab → · Contrast checker → · Palette generator →

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