#4875D9#4875D9

#4875D9 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.161 H 263.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4875D9
RGBrgb(72, 117, 217)
HSLhsl(221, 66%, 57%)
HSVhsv(221, 67%, 85%)
CMYKcmyk(66.8%, 46.1%, 0%, 14.9%)
CIE-LABlab(50.81, 16.92, -55.91)
CIE-LCHlch(50.81, 58.42, 286.83°)
OKLaboklab(58.17% -0.0171 -0.16)
OKLCHoklch(58.17% 0.161 263.9)
XYZxyz(21.5538, 19.1079, 68.1845)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875D9 #D9AC48
analogous
#48BED9 #4875D9 #6448D9
triadic
#4875D9 #D94875 #75D948
tetradic
#4875D9 #D948BE #D9AC48 #48D964
square
#4875D9 #D948BE #D9AC48 #48D964
split-complementary
#4875D9 #D96448 #BED948
monochromatic
#1D3F8A #2756BD #4875D9 #7B9BE4 #ADC1EE

Accessibility & contrast

On white

4.36
#4875D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4875D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875D9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875D9#FFFFFF#000000##000000
##4875D91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DD
Deuteranopia (green-blind)
#2573D7
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4875d9;
/* rgb */ color: rgb(72, 117, 217);
/* oklch */ color: oklch(58.2% 0.161 263.9);
Tailwind
colors: {
  custom: {
    50: '#8a9ce5',
    500: '#4875d9',
    950: '#000000',
  },
}
SCSS
$custom: #4875d9;
$custom-light: #8a9ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4875d9",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 217
  },
  "hsl": {
    "h": 221.379,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.16096,
    "h": 263.9
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#4875D9
secondary
#DCCAA1
accent
#B43FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4875D9

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

Preview Lab → · Contrast checker → · Palette generator →

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