#4871DB#4871DB

#4871DB is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.168 H 265.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4871DB
RGBrgb(72, 113, 219)
HSLhsl(223, 67%, 57%)
HSVhsv(223, 67%, 86%)
CMYKcmyk(67.1%, 48.4%, 0%, 14.1%)
CIE-LABlab(49.86, 20.11, -58.58)
CIE-LCHlch(49.86, 61.94, 288.95°)
OKLaboklab(57.48% -0.0132 -0.1679)
OKLCHoklch(57.48% 0.168 265.5)
XYZxyz(21.3593, 18.3004, 69.4108)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871DB #DBB248
analogous
#48BBDB #4871DB #6948DB
triadic
#4871DB #DB4871 #71DB48
tetradic
#4871DB #DB48BB #DBB248 #48DB69
square
#4871DB #DB48BB #DBB248 #48DB69
split-complementary
#4871DB #DB6948 #BBDB48
monochromatic
#1C3B8D #2651C0 #4871DB #7B99E5 #AEC0EF

Accessibility & contrast

On white

4.51
#4871DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4871DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4871DB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871DB#FFFFFF#000000##000000
##4871DB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#0E70D9
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4871db;
/* rgb */ color: rgb(72, 113, 219);
/* oklch */ color: oklch(57.5% 0.168 265.5);
Tailwind
colors: {
  custom: {
    50: '#8a99e7',
    500: '#4871db',
    950: '#000000',
  },
}
SCSS
$custom: #4871db;
$custom-light: #8a99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4871db",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 223.265,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57484,
    "c": 0.16846,
    "h": 265.5
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#4871DB
secondary
#DDCDA2
accent
#BA3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4871DB

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

Preview Lab → · Contrast checker → · Palette generator →

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