#4872DF#4872DF

#4872DF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.173 H 265.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4872DF
RGBrgb(72, 114, 223)
HSLhsl(223, 70%, 58%)
HSVhsv(223, 68%, 87%)
CMYKcmyk(67.7%, 48.9%, 0%, 12.5%)
CIE-LABlab(50.38, 20.90, -60.00)
CIE-LCHlch(50.38, 63.54, 289.20°)
OKLaboklab(57.96% -0.0136 -0.1721)
OKLCHoklch(57.96% 0.173 265.5)
XYZxyz(22.0044, 18.7379, 72.2549)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872DF #DFB548
analogous
#48BEDF #4872DF #6948DF
triadic
#4872DF #DF4872 #72DF48
tetradic
#4872DF #DF48BE #DFB548 #48DF69
square
#4872DF #DF48BE #DFB548 #48DF69
split-complementary
#4872DF #DF6948 #BEDF48
monochromatic
#1A3B93 #2350C7 #4872DF #7C9AE8 #B0C2F1

Accessibility & contrast

On white

4.42
#4872DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4872DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872DF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872DF#FFFFFF#000000##000000
##4872DF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#0171DD
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4872df;
/* rgb */ color: rgb(72, 114, 223);
/* oklch */ color: oklch(58.0% 0.173 265.5);
Tailwind
colors: {
  custom: {
    50: '#8b9aea',
    500: '#4872df',
    950: '#000000',
  },
}
SCSS
$custom: #4872df;
$custom-light: #8b9aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4872df",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 223.311,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.17265,
    "h": 265.5
  },
  "luminance": 0.1874
}

Semantic roles & 50–950 ramp

primary
#4872DF
secondary
#E0CFA3
accent
#BB3BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4872DF

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

Preview Lab → · Contrast checker → · Palette generator →

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