#4875E4#4875E4

#4875E4 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.9% C 0.176 H 264.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4875E4
RGBrgb(72, 117, 228)
HSLhsl(223, 74%, 59%)
HSVhsv(223, 68%, 89%)
CMYKcmyk(68.4%, 48.7%, 0%, 10.6%)
CIE-LABlab(51.50, 20.80, -61.02)
CIE-LCHlch(51.50, 64.46, 288.82°)
OKLaboklab(58.91% -0.0156 -0.175)
OKLCHoklch(58.91% 0.176 264.9)
XYZxyz(23.0325, 19.6994, 75.9723)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875E4 #E4B748
analogous
#48C3E4 #4875E4 #6948E4
triadic
#4875E4 #E44875 #75E448
tetradic
#4875E4 #E448C3 #E4B748 #48E469
square
#4875E4 #E448C3 #E4B748 #48E469
split-complementary
#4875E4 #E46948 #C3E448
monochromatic
#173D9B #1F52D0 #4875E4 #7D9DEC #B3C5F4

Accessibility & contrast

On white

4.25
#4875E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4875E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875E4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875E4#FFFFFF#000000##000000
##4875E41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3782E8
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4875e4;
/* rgb */ color: rgb(72, 117, 228);
/* oklch */ color: oklch(58.9% 0.176 264.9);
Tailwind
colors: {
  custom: {
    50: '#8c9ced',
    500: '#4875e4',
    950: '#000000',
  },
}
SCSS
$custom: #4875e4;
$custom-light: #8c9ced;
$custom-dark: #000000;
JSON
{
  "hex": "#4875e4",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 222.692,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.17575,
    "h": 264.9
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#4875E4
secondary
#E3D1A5
accent
#BB37F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4875E4

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

Preview Lab → · Contrast checker → · Palette generator →

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