#4875E5#4875E5

#4875E5 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.0% C 0.177 H 265.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4875E5
RGBrgb(72, 117, 229)
HSLhsl(223, 75%, 59%)
HSVhsv(223, 69%, 90%)
CMYKcmyk(68.6%, 48.9%, 0%, 10.2%)
CIE-LABlab(51.56, 21.15, -61.48)
CIE-LCHlch(51.56, 65.01, 288.98°)
OKLaboklab(58.98% -0.0155 -0.1764)
OKLCHoklch(58.98% 0.177 265)
XYZxyz(23.1717, 19.7551, 76.7055)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875E5 #E5B848
analogous
#48C3E5 #4875E5 #6A48E5
triadic
#4875E5 #E54875 #75E548
tetradic
#4875E5 #E548C3 #E5B848 #48E56A
square
#4875E5 #E548C3 #E5B848 #48E56A
split-complementary
#4875E5 #E56A48 #C3E548
monochromatic
#163D9C #1E51D2 #4875E5 #7E9DED #B3C6F4

Accessibility & contrast

On white

4.24
#4875E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4875E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875E5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875E5#FFFFFF#000000##000000
##4875E51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3682E9
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4875e5;
/* rgb */ color: rgb(72, 117, 229);
/* oklch */ color: oklch(59.0% 0.177 265.0);
Tailwind
colors: {
  custom: {
    50: '#8c9cee',
    500: '#4875e5',
    950: '#000000',
  },
}
SCSS
$custom: #4875e5;
$custom-light: #8c9cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4875e5",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 229
  },
  "hsl": {
    "h": 222.803,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.17708,
    "h": 265
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#4875E5
secondary
#E3D2A6
accent
#BC36F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4875E5

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

Preview Lab → · Contrast checker → · Palette generator →

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