#4868DC#4868DC

#4868DC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.8% C 0.181 H 268.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4868DC
RGBrgb(72, 104, 220)
HSLhsl(227, 68%, 57%)
HSVhsv(227, 67%, 86%)
CMYKcmyk(67.3%, 52.7%, 0%, 13.7%)
CIE-LABlab(47.55, 26.10, -62.87)
CIE-LCHlch(47.55, 68.07, 292.55°)
OKLaboklab(55.75% -0.0052 -0.1807)
OKLCHoklch(55.75% 0.181 268.4)
XYZxyz(20.5366, 16.4437, 69.7879)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4868DC #DCBC48
analogous
#48B2DC #4868DC #7248DC
triadic
#4868DC #DC4868 #68DC48
tetradic
#4868DC #DC48B2 #DCBC48 #48DC72
square
#4868DC #DC48B2 #DCBC48 #48DC72
split-complementary
#4868DC #DC7248 #B2DC48
monochromatic
#1B348E #2547C2 #4868DC #7B92E6 #AFBDF0

Accessibility & contrast

On white

4.90
#4868DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4868DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4868DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4868DC#FFFFFF#000000##FFFFFF
##4868DC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1878E0
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#008498
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4868dc;
/* rgb */ color: rgb(72, 104, 220);
/* oklch */ color: oklch(55.8% 0.181 268.4);
Tailwind
colors: {
  custom: {
    50: '#8b92e8',
    500: '#4868dc',
    950: '#000000',
  },
}
SCSS
$custom: #4868dc;
$custom-light: #8b92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4868dc",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 227.027,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.18076,
    "h": 268.4
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#4868DC
secondary
#DED1A2
accent
#C53DEB
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0D16
muted
#7E7D84

Preview Lab

Preview with #4868DC

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

Preview Lab → · Contrast checker → · Palette generator →

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