#4876CF#4876CF

#4876CF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.7% C 0.146 H 262.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4876CF
RGBrgb(72, 118, 207)
HSLhsl(220, 58%, 55%)
HSVhsv(220, 65%, 81%)
CMYKcmyk(65.2%, 43%, 0%, 18.8%)
CIE-LABlab(50.50, 12.79, -50.75)
CIE-LCHlch(50.50, 52.33, 284.14°)
OKLaboklab(57.74% -0.0198 -0.1448)
OKLCHoklch(57.74% 0.146 262.2)
XYZxyz(20.4094, 18.8376, 61.5798)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876CF #CFA148
analogous
#48B9CF #4876CF #5E48CF
triadic
#4876CF #CF4876 #76CF48
tetradic
#4876CF #CF48B9 #CFA148 #48CF5E
square
#4876CF #CF48B9 #CFA148 #48CF5E
split-complementary
#4876CF #CF5E48 #B9CF48
monochromatic
#21407C #2D59AD #4876CF #789ADC #A9BFE8

Accessibility & contrast

On white

4.40
#4876CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4876CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876CF#FFFFFF#000000##000000
##4876CF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7FD2
Deuteranopia (green-blind)
#3672CD
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4876cf;
/* rgb */ color: rgb(72, 118, 207);
/* oklch */ color: oklch(57.7% 0.146 262.2);
Tailwind
colors: {
  custom: {
    50: '#889dde',
    500: '#4876cf',
    950: '#000000',
  },
}
SCSS
$custom: #4876cf;
$custom-light: #889dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4876cf",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 219.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.14618,
    "h": 262.2
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#4876CF
secondary
#D6C29D
accent
#AD46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4876CF

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

Preview Lab → · Contrast checker → · Palette generator →

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