#4872CF#4872CF

#4872CF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.9% C 0.151 H 264.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#4872CF
RGBrgb(72, 114, 207)
HSLhsl(221, 58%, 55%)
HSVhsv(221, 65%, 81%)
CMYKcmyk(65.2%, 44.9%, 0%, 18.8%)
CIE-LABlab(49.39, 15.27, -52.51)
CIE-LCHlch(49.39, 54.69, 286.22°)
OKLaboklab(56.89% -0.0159 -0.1501)
OKLCHoklch(56.89% 0.151 264)
XYZxyz(19.9483, 17.9154, 61.4261)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872CF #CFA548
analogous
#48B6CF #4872CF #6148CF
triadic
#4872CF #CF4872 #72CF48
tetradic
#4872CF #CF48B6 #CFA548 #48CF61
square
#4872CF #CF48B6 #CFA548 #48CF61
split-complementary
#4872CF #CF6148 #B6CF48
monochromatic
#213D7C #2D55AD #4872CF #7897DC #A9BDE8

Accessibility & contrast

On white

4.58
#4872CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4872CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872CF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872CF#FFFFFF#000000##000000
##4872CF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#2D70CD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4872cf;
/* rgb */ color: rgb(72, 114, 207);
/* oklch */ color: oklch(56.9% 0.151 264.0);
Tailwind
colors: {
  custom: {
    50: '#889ade',
    500: '#4872cf',
    950: '#000000',
  },
}
SCSS
$custom: #4872cf;
$custom-light: #889ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4872cf",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 221.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.15091,
    "h": 264
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#4872CF
secondary
#D6C49D
accent
#B146E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4872CF

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

Preview Lab → · Contrast checker → · Palette generator →

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