#4875D4#4875D4

#4875D4 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.8% C 0.154 H 263.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4875D4
RGBrgb(72, 117, 212)
HSLhsl(221, 62%, 56%)
HSVhsv(221, 66%, 83%)
CMYKcmyk(66%, 44.8%, 0%, 16.9%)
CIE-LABlab(50.51, 15.16, -53.56)
CIE-LCHlch(50.51, 55.66, 285.80°)
OKLaboklab(57.85% -0.0179 -0.1531)
OKLCHoklch(57.85% 0.154 263.3)
XYZxyz(20.9133, 18.8517, 64.8112)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875D4 #D4A748
analogous
#48BBD4 #4875D4 #6148D4
triadic
#4875D4 #D44875 #75D448
tetradic
#4875D4 #D448BB #D4A748 #48D461
square
#4875D4 #D448BB #D4A748 #48D461
split-complementary
#4875D4 #D46148 #BBD448
monochromatic
#1F3F83 #2A57B4 #4875D4 #7A9AE0 #ABC0EB

Accessibility & contrast

On white

4.40
#4875D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4875D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875D4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875D4#FFFFFF#000000##000000
##4875D41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477FD8
Deuteranopia (green-blind)
#2E72D2
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4875d4;
/* rgb */ color: rgb(72, 117, 212);
/* oklch */ color: oklch(57.8% 0.154 263.3);
Tailwind
colors: {
  custom: {
    50: '#899ce2',
    500: '#4875d4',
    950: '#000000',
  },
}
SCSS
$custom: #4875d4;
$custom-light: #899ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4875d4",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 212
  },
  "hsl": {
    "h": 220.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.15417,
    "h": 263.3
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#4875D4
secondary
#D9C69F
accent
#B143E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4875D4

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

Preview Lab → · Contrast checker → · Palette generator →

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