#4875E3#4875E3

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

Color values

HEX#4875E3
RGBrgb(72, 117, 227)
HSLhsl(223, 73%, 59%)
HSVhsv(223, 68%, 89%)
CMYKcmyk(68.3%, 48.5%, 0%, 11%)
CIE-LABlab(51.43, 20.44, -60.56)
CIE-LCHlch(51.43, 63.91, 288.65°)
OKLaboklab(58.85% -0.0158 -0.1737)
OKLCHoklch(58.85% 0.174 264.8)
XYZxyz(22.8940, 19.6440, 75.2433)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875E3 #E3B648
analogous
#48C2E3 #4875E3 #6848E3
triadic
#4875E3 #E34875 #75E348
tetradic
#4875E3 #E348C2 #E3B648 #48E368
square
#4875E3 #E348C2 #E3B648 #48E368
split-complementary
#4875E3 #E36848 #C2E348
monochromatic
#173D99 #2052CE #4875E3 #7D9DEB #B2C5F3

Accessibility & contrast

On white

4.26
#4875E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4875E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875E3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875E3#FFFFFF#000000##000000
##4875E31.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E7
Deuteranopia (green-blind)
#0674E1
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4875e3;
/* rgb */ color: rgb(72, 117, 227);
/* oklch */ color: oklch(58.8% 0.174 264.8);
Tailwind
colors: {
  custom: {
    50: '#8c9cec',
    500: '#4875e3',
    950: '#000000',
  },
}
SCSS
$custom: #4875e3;
$custom-light: #8c9cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4875e3",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 227
  },
  "hsl": {
    "h": 222.581,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58846,
    "c": 0.17441,
    "h": 264.8
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#4875E3
secondary
#E2D0A5
accent
#BB38F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4875E3

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

Preview Lab → · Contrast checker → · Palette generator →

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