#4875DC#4875DC

#4875DC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.4% C 0.165 H 264.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4875DC
RGBrgb(72, 117, 220)
HSLhsl(222, 68%, 57%)
HSVhsv(222, 67%, 86%)
CMYKcmyk(67.3%, 46.8%, 0%, 13.7%)
CIE-LABlab(51.00, 17.97, -57.32)
CIE-LCHlch(51.00, 60.07, 287.41°)
OKLaboklab(58.37% -0.0167 -0.1642)
OKLCHoklch(58.37% 0.165 264.2)
XYZxyz(21.9475, 19.2654, 70.2582)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875DC #DCAF48
analogous
#48BFDC #4875DC #6548DC
triadic
#4875DC #DC4875 #75DC48
tetradic
#4875DC #DC48BF #DCAF48 #48DC65
square
#4875DC #DC48BF #DCAF48 #48DC65
split-complementary
#4875DC #DC6548 #BFDC48
monochromatic
#1B3E8E #2555C2 #4875DC #7B9CE6 #AFC2F0

Accessibility & contrast

On white

4.33
#4875DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4875DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875DC#FFFFFF#000000##000000
##4875DC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#1F73DA
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4875dc;
/* rgb */ color: rgb(72, 117, 220);
/* oklch */ color: oklch(58.4% 0.165 264.2);
Tailwind
colors: {
  custom: {
    50: '#8b9ce7',
    500: '#4875dc',
    950: '#000000',
  },
}
SCSS
$custom: #4875dc;
$custom-light: #8b9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4875dc",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 221.757,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.16501,
    "h": 264.2
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

primary
#4875DC
secondary
#DECCA2
accent
#B63DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4875DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4875DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva