#4875E2#4875E2

#4875E2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.8% C 0.173 H 264.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4875E2
RGBrgb(72, 117, 226)
HSLhsl(222, 73%, 58%)
HSVhsv(222, 68%, 89%)
CMYKcmyk(68.1%, 48.2%, 0%, 11.4%)
CIE-LABlab(51.37, 20.09, -60.10)
CIE-LCHlch(51.37, 63.37, 288.48°)
OKLaboklab(58.78% -0.0159 -0.1723)
OKLCHoklch(58.78% 0.173 264.7)
XYZxyz(22.7564, 19.5890, 74.5185)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875E2 #E2B548
analogous
#48C2E2 #4875E2 #6848E2
triadic
#4875E2 #E24875 #75E248
tetradic
#4875E2 #E248C2 #E2B548 #48E268
square
#4875E2 #E248C2 #E2B548 #48E268
split-complementary
#4875E2 #E26848 #C2E248
monochromatic
#183D98 #2053CC #4875E2 #7D9DEA #B2C5F3

Accessibility & contrast

On white

4.27
#4875E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4875E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875E2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875E2#FFFFFF#000000##000000
##4875E21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#0C74E0
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4875e2;
/* rgb */ color: rgb(72, 117, 226);
/* oklch */ color: oklch(58.8% 0.173 264.7);
Tailwind
colors: {
  custom: {
    50: '#8c9cec',
    500: '#4875e2',
    950: '#000000',
  },
}
SCSS
$custom: #4875e2;
$custom-light: #8c9cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4875e2",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 222.468,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.17307,
    "h": 264.7
  },
  "luminance": 0.19591
}

Semantic roles & 50–950 ramp

primary
#4875E2
secondary
#E1D0A4
accent
#BA38EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4875E2

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

Preview Lab → · Contrast checker → · Palette generator →

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