#4867D5#4867D5

#4867D5 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.0% C 0.173 H 268.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4867D5
RGBrgb(72, 103, 213)
HSLhsl(227, 63%, 56%)
HSVhsv(227, 66%, 84%)
CMYKcmyk(66.2%, 51.6%, 0%, 16.5%)
CIE-LABlab(46.82, 24.28, -60.07)
CIE-LCHlch(46.82, 64.79, 292.00°)
OKLaboklab(55.05% -0.0049 -0.1725)
OKLCHoklch(55.05% 0.173 268.4)
XYZxyz(19.5289, 15.8805, 64.9740)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4867D5 #D5B648
analogous
#48ADD5 #4867D5 #6F48D5
triadic
#4867D5 #D54867 #67D548
tetradic
#4867D5 #D548AD #D5B648 #48D56F
square
#4867D5 #D548AD #D5B648 #48D56F
split-complementary
#4867D5 #D56F48 #ADD548
monochromatic
#1E3584 #2A49B6 #4867D5 #7A90E0 #ACBAEC

Accessibility & contrast

On white

5.03
#4867D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4867D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4867D5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4867D5#FFFFFF#000000##FFFFFF
##4867D51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2276D9
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#008194
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4867d5;
/* rgb */ color: rgb(72, 103, 213);
/* oklch */ color: oklch(55.0% 0.173 268.4);
Tailwind
colors: {
  custom: {
    50: '#8a91e3',
    500: '#4867d5',
    950: '#000000',
  },
}
SCSS
$custom: #4867d5;
$custom-light: #8a91e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4867d5",
  "rgb": {
    "r": 72,
    "g": 103,
    "b": 213
  },
  "hsl": {
    "h": 226.809,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55049,
    "c": 0.17255,
    "h": 268.4
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#4867D5
secondary
#DACD9F
accent
#C242E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4867D5

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

Preview Lab → · Contrast checker → · Palette generator →

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