#4876DF#4876DF

#4876DF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.8% C 0.168 H 264.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4876DF
RGBrgb(72, 118, 223)
HSLhsl(222, 70%, 58%)
HSVhsv(222, 68%, 87%)
CMYKcmyk(67.7%, 47.1%, 0%, 12.5%)
CIE-LABlab(51.45, 18.41, -58.28)
CIE-LCHlch(51.45, 61.12, 287.53°)
OKLaboklab(58.78% -0.0172 -0.167)
OKLCHoklch(58.78% 0.168 264.1)
XYZxyz(22.4655, 19.6601, 72.4086)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876DF #DFB148
analogous
#48C1DF #4876DF #6548DF
triadic
#4876DF #DF4876 #76DF48
tetradic
#4876DF #DF48C1 #DFB148 #48DF65
square
#4876DF #DF48C1 #DFB148 #48DF65
split-complementary
#4876DF #DF6548 #C1DF48
monochromatic
#1A3F93 #2355C7 #4876DF #7C9DE8 #B0C4F1

Accessibility & contrast

On white

4.26
#4876DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4876DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876DF#FFFFFF#000000##000000
##4876DF1.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)
#3F82E3
Deuteranopia (green-blind)
#1C74DD
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4876df;
/* rgb */ color: rgb(72, 118, 223);
/* oklch */ color: oklch(58.8% 0.168 264.1);
Tailwind
colors: {
  custom: {
    50: '#8b9cea',
    500: '#4876df',
    950: '#000000',
  },
}
SCSS
$custom: #4876df;
$custom-light: #8b9cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4876df",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 221.722,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5878,
    "c": 0.16785,
    "h": 264.1
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#4876DF
secondary
#E0CDA3
accent
#B73BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876DF

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

Preview Lab → · Contrast checker → · Palette generator →

#4876DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva