#4876EF#4876EF

#4876EF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.189 H 265.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4876EF
RGBrgb(72, 118, 239)
HSLhsl(223, 84%, 61%)
HSVhsv(223, 70%, 94%)
CMYKcmyk(69.9%, 50.6%, 0%, 6.3%)
CIE-LABlab(52.47, 24.06, -65.61)
CIE-LCHlch(52.47, 69.88, 290.14°)
OKLaboklab(59.88% -0.0152 -0.1885)
OKLCHoklch(59.88% 0.189 265.4)
XYZxyz(24.7254, 20.5640, 84.3108)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876EF #EFC148
analogous
#48C9EF #4876EF #6D48EF
triadic
#4876EF #EF4876 #76EF48
tetradic
#4876EF #EF48C9 #EFC148 #48EF6D
square
#4876EF #EF48C9 #EFC148 #48EF6D
split-complementary
#4876EF #EF6D48 #C9EF48
monochromatic
#0F3BAD #144EE6 #4876EF #80A0F4 #B9CAF9

Accessibility & contrast

On white

4.11
#4876EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4876EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876EF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876EF#FFFFFF#000000##000000
##4876EF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4876ef;
/* rgb */ color: rgb(72, 118, 239);
/* oklch */ color: oklch(59.9% 0.189 265.4);
Tailwind
colors: {
  custom: {
    50: '#8e9cf5',
    500: '#4876ef',
    950: '#000000',
  },
}
SCSS
$custom: #4876ef;
$custom-light: #8e9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#4876ef",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 223.473,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59882,
    "c": 0.18915,
    "h": 265.4
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#4876EF
secondary
#E9D8AA
accent
#A405E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4876EF

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

Preview Lab → · Contrast checker → · Palette generator →

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