#4868D4#4868D4

#4868D4 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.170 H 268.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4868D4
RGBrgb(72, 104, 212)
HSLhsl(226, 62%, 56%)
HSVhsv(226, 66%, 83%)
CMYKcmyk(66%, 50.9%, 0%, 16.9%)
CIE-LABlab(47.01, 23.30, -59.19)
CIE-LCHlch(47.01, 63.61, 291.49°)
OKLaboklab(55.18% -0.0059 -0.1699)
OKLCHoklch(55.18% 0.17 268)
XYZxyz(19.5024, 16.0300, 64.3409)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4868D4 #D4B448
analogous
#48AED4 #4868D4 #6E48D4
triadic
#4868D4 #D44868 #68D448
tetradic
#4868D4 #D448AE #D4B448 #48D46E
square
#4868D4 #D448AE #D4B448 #48D46E
split-complementary
#4868D4 #D46E48 #AED448
monochromatic
#1F3683 #2A4AB4 #4868D4 #7A91E0 #ABBAEB

Accessibility & contrast

On white

4.99
#4868D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4868D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4868D4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4868D4#FFFFFF#000000##FFFFFF
##4868D41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4868d4;
/* rgb */ color: rgb(72, 104, 212);
/* oklch */ color: oklch(55.2% 0.170 268.0);
Tailwind
colors: {
  custom: {
    50: '#8a92e2',
    500: '#4868d4',
    950: '#000000',
  },
}
SCSS
$custom: #4868d4;
$custom-light: #8a92e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4868d4",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 212
  },
  "hsl": {
    "h": 226.286,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.16996,
    "h": 268
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#4868D4
secondary
#D9CC9F
accent
#C043E5
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #4868D4

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

Preview Lab → · Contrast checker → · Palette generator →

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