#4872CE#4872CE

#4872CE is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.8% C 0.150 H 263.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4872CE
RGBrgb(72, 114, 206)
HSLhsl(221, 58%, 55%)
HSVhsv(221, 65%, 81%)
CMYKcmyk(65%, 44.7%, 0%, 19.2%)
CIE-LABlab(49.33, 14.92, -52.03)
CIE-LCHlch(49.33, 54.13, 286.00°)
OKLaboklab(56.83% -0.0161 -0.1487)
OKLCHoklch(56.83% 0.15 263.8)
XYZxyz(19.8265, 17.8667, 60.7843)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872CE #CEA448
analogous
#48B5CE #4872CE #6148CE
triadic
#4872CE #CE4872 #72CE48
tetradic
#4872CE #CE48B5 #CEA448 #48CE61
square
#4872CE #CE48B5 #CEA448 #48CE61
split-complementary
#4872CE #CE6148 #B5CE48
monochromatic
#213D7B #2E55AB #4872CE #7897DB #A9BCE8

Accessibility & contrast

On white

4.59
#4872CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4872CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4872CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872CE#FFFFFF#000000##FFFFFF
##4872CE1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4872ce;
/* rgb */ color: rgb(72, 114, 206);
/* oklch */ color: oklch(56.8% 0.150 263.8);
Tailwind
colors: {
  custom: {
    50: '#889add',
    500: '#4872ce',
    950: '#000000',
  },
}
SCSS
$custom: #4872ce;
$custom-light: #889add;
$custom-dark: #000000;
JSON
{
  "hex": "#4872ce",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 221.194,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.14955,
    "h": 263.8
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#4872CE
secondary
#D5C39D
accent
#B147E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4872CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4872CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva