#4875C2#4875C2

#4875C2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.7% C 0.130 H 260.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4875C2
RGBrgb(72, 117, 194)
HSLhsl(218, 50%, 52%)
HSVhsv(218, 63%, 76%)
CMYKcmyk(62.9%, 39.7%, 0%, 23.9%)
CIE-LABlab(49.49, 8.88, -44.92)
CIE-LCHlch(49.49, 45.79, 281.18°)
OKLaboklab(56.72% -0.0214 -0.1278)
OKLCHoklch(56.72% 0.13 260.5)
XYZxyz(18.7679, 17.9936, 53.5125)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875C2 #C29548
analogous
#48B2C2 #4875C2 #5848C2
triadic
#4875C2 #C24875 #75C248
tetradic
#4875C2 #C248B2 #C29548 #48C258
square
#4875C2 #C248B2 #C29548 #48C258
split-complementary
#4875C2 #C25848 #B2C248
monochromatic
#243E6C #33599A #4875C2 #7698D1 #A4BAE1

Accessibility & contrast

On white

4.57
#4875C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4875C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875C2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875C2#FFFFFF#000000##000000
##4875C21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#4270C0
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4875c2;
/* rgb */ color: rgb(72, 117, 194);
/* oklch */ color: oklch(56.7% 0.130 260.5);
Tailwind
colors: {
  custom: {
    50: '#869cd5',
    500: '#4875c2',
    950: '#000000',
  },
}
SCSS
$custom: #4875c2;
$custom-light: #869cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4875c2",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 194
  },
  "hsl": {
    "h": 217.869,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.12954,
    "h": 260.5
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#4875C2
secondary
#CEBA98
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4875C2

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

Preview Lab → · Contrast checker → · Palette generator →

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