#4867D4#4867D4

#4867D4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.0% C 0.171 H 268.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4867D4
RGBrgb(72, 103, 212)
HSLhsl(227, 62%, 56%)
HSVhsv(227, 66%, 83%)
CMYKcmyk(66%, 51.4%, 0%, 16.9%)
CIE-LABlab(46.75, 23.93, -59.61)
CIE-LCHlch(46.75, 64.23, 291.87°)
OKLaboklab(54.98% -0.005 -0.1711)
OKLCHoklch(54.98% 0.171 268.3)
XYZxyz(19.4023, 15.8299, 64.3076)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4867D4 #D4B548
analogous
#48ADD4 #4867D4 #6F48D4
triadic
#4867D4 #D44867 #67D448
tetradic
#4867D4 #D448AD #D4B548 #48D46F
square
#4867D4 #D448AD #D4B548 #48D46F
split-complementary
#4867D4 #D46F48 #ADD448
monochromatic
#1F3583 #2A49B4 #4867D4 #7A90E0 #ABB9EB

Accessibility & contrast

On white

5.04
#4867D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4867D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4867D4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4867D4#FFFFFF#000000##FFFFFF
##4867D41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2475D8
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4867d4;
/* rgb */ color: rgb(72, 103, 212);
/* oklch */ color: oklch(55.0% 0.171 268.3);
Tailwind
colors: {
  custom: {
    50: '#8a91e2',
    500: '#4867d4',
    950: '#000000',
  },
}
SCSS
$custom: #4867d4;
$custom-light: #8a91e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4867d4",
  "rgb": {
    "r": 72,
    "g": 103,
    "b": 212
  },
  "hsl": {
    "h": 226.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.17119,
    "h": 268.3
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#4867D4
secondary
#D9CC9F
accent
#C143E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4867D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4867D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva