#4875D5#4875D5

#4875D5 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.9% C 0.156 H 263.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4875D5
RGBrgb(72, 117, 213)
HSLhsl(221, 63%, 56%)
HSVhsv(221, 66%, 84%)
CMYKcmyk(66.2%, 45.1%, 0%, 16.5%)
CIE-LABlab(50.57, 15.51, -54.03)
CIE-LCHlch(50.57, 56.22, 286.02°)
OKLaboklab(57.91% -0.0178 -0.1545)
OKLCHoklch(57.91% 0.156 263.4)
XYZxyz(21.0398, 18.9024, 65.4776)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875D5 #D5A848
analogous
#48BBD5 #4875D5 #6148D5
triadic
#4875D5 #D54875 #75D548
tetradic
#4875D5 #D548BB #D5A848 #48D561
square
#4875D5 #D548BB #D5A848 #48D561
split-complementary
#4875D5 #D56148 #BBD548
monochromatic
#1E3F84 #2A57B6 #4875D5 #7A9BE0 #ACC0EC

Accessibility & contrast

On white

4.39
#4875D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4875D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875D5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875D5#FFFFFF#000000##000000
##4875D51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#467FD9
Deuteranopia (green-blind)
#2C72D3
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4875d5;
/* rgb */ color: rgb(72, 117, 213);
/* oklch */ color: oklch(57.9% 0.156 263.4);
Tailwind
colors: {
  custom: {
    50: '#899ce2',
    500: '#4875d5',
    950: '#000000',
  },
}
SCSS
$custom: #4875d5;
$custom-light: #899ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4875d5",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 213
  },
  "hsl": {
    "h": 220.851,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.15553,
    "h": 263.4
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#4875D5
secondary
#DAC79F
accent
#B142E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4875D5

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

Preview Lab → · Contrast checker → · Palette generator →

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