#4872DB#4872DB

#4872DB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.167 H 265.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4872DB
RGBrgb(72, 114, 219)
HSLhsl(223, 67%, 57%)
HSVhsv(223, 67%, 86%)
CMYKcmyk(67.1%, 47.9%, 0%, 14.1%)
CIE-LABlab(50.13, 19.49, -58.15)
CIE-LCHlch(50.13, 61.33, 288.53°)
OKLaboklab(57.69% -0.0141 -0.1666)
OKLCHoklch(57.69% 0.167 265.2)
XYZxyz(21.4715, 18.5247, 69.4482)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872DB #DBB148
analogous
#48BCDB #4872DB #6848DB
triadic
#4872DB #DB4872 #72DB48
tetradic
#4872DB #DB48BC #DBB148 #48DB68
square
#4872DB #DB48BC #DBB148 #48DB68
split-complementary
#4872DB #DB6848 #BCDB48
monochromatic
#1C3C8D #2652C0 #4872DB #7B99E5 #AEC1EF

Accessibility & contrast

On white

4.46
#4872DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4872DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872DB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872DB#FFFFFF#000000##000000
##4872DB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDF
Deuteranopia (green-blind)
#1471D9
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4872db;
/* rgb */ color: rgb(72, 114, 219);
/* oklch */ color: oklch(57.7% 0.167 265.2);
Tailwind
colors: {
  custom: {
    50: '#8a9ae7',
    500: '#4872db',
    950: '#000000',
  },
}
SCSS
$custom: #4872db;
$custom-light: #8a9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4872db",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 222.857,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.16725,
    "h": 265.2
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#4872DB
secondary
#DDCCA2
accent
#B93EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4872DB

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

Preview Lab → · Contrast checker → · Palette generator →

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