#4875C4#4875C4

#4875C4 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.8% C 0.132 H 260.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4875C4
RGBrgb(72, 117, 196)
HSLhsl(218, 51%, 53%)
HSVhsv(218, 63%, 77%)
CMYKcmyk(63.3%, 40.3%, 0%, 23.1%)
CIE-LABlab(49.60, 9.57, -45.89)
CIE-LCHlch(49.60, 46.88, 281.78°)
OKLaboklab(56.85% -0.021 -0.1306)
OKLCHoklch(56.85% 0.132 260.9)
XYZxyz(18.9941, 18.0841, 54.7034)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875C4 #C49748
analogous
#48B3C4 #4875C4 #5948C4
triadic
#4875C4 #C44875 #75C448
tetradic
#4875C4 #C448B3 #C49748 #48C459
square
#4875C4 #C448B3 #C49748 #48C459
split-complementary
#4875C4 #C45948 #B3C448
monochromatic
#233F6E #32599C #4875C4 #7698D3 #A5BBE2

Accessibility & contrast

On white

4.55
#4875C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4875C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875C4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875C4#FFFFFF#000000##000000
##4875C41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC7
Deuteranopia (green-blind)
#4071C2
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4875c4;
/* rgb */ color: rgb(72, 117, 196);
/* oklch */ color: oklch(56.8% 0.132 260.9);
Tailwind
colors: {
  custom: {
    50: '#869cd6',
    500: '#4875c4',
    950: '#000000',
  },
}
SCSS
$custom: #4875c4;
$custom-light: #869cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4875c4",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 196
  },
  "hsl": {
    "h": 218.226,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.13228,
    "h": 260.9
  },
  "luminance": 0.18086
}

Semantic roles & 50–950 ramp

primary
#4875C4
secondary
#CFBB99
accent
#A74DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4875C4

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

Preview Lab → · Contrast checker → · Palette generator →

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