#4875C5#4875C5

#4875C5 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 56.9% C 0.134 H 261.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4875C5
RGBrgb(72, 117, 197)
HSLhsl(218, 52%, 53%)
HSVhsv(218, 63%, 77%)
CMYKcmyk(63.5%, 40.6%, 0%, 22.7%)
CIE-LABlab(49.65, 9.92, -46.38)
CIE-LCHlch(49.65, 47.43, 282.07°)
OKLaboklab(56.9% -0.0208 -0.132)
OKLCHoklch(56.9% 0.134 261.1)
XYZxyz(19.1083, 18.1297, 55.3049)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875C5 #C59848
analogous
#48B3C5 #4875C5 #5948C5
triadic
#4875C5 #C54875 #75C548
tetradic
#4875C5 #C548B3 #C59848 #48C559
square
#4875C5 #C548B3 #C59848 #48C559
split-complementary
#4875C5 #C55948 #B3C548
monochromatic
#233F6F #32599E #4875C5 #7698D4 #A5BBE2

Accessibility & contrast

On white

4.54
#4875C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4875C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875C5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875C5#FFFFFF#000000##000000
##4875C51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517CC8
Deuteranopia (green-blind)
#3F71C3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4875c5;
/* rgb */ color: rgb(72, 117, 197);
/* oklch */ color: oklch(56.9% 0.134 261.1);
Tailwind
colors: {
  custom: {
    50: '#879cd7',
    500: '#4875c5',
    950: '#000000',
  },
}
SCSS
$custom: #4875c5;
$custom-light: #879cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4875c5",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 197
  },
  "hsl": {
    "h": 218.4,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.13365,
    "h": 261.1
  },
  "luminance": 0.18132
}

Semantic roles & 50–950 ramp

primary
#4875C5
secondary
#CFBC99
accent
#A84CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4875C5

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

Preview Lab → · Contrast checker → · Palette generator →

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