#4868D5#4868D5

#4868D5 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.2% C 0.171 H 268.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4868D5
RGBrgb(72, 104, 213)
HSLhsl(226, 63%, 56%)
HSVhsv(226, 66%, 84%)
CMYKcmyk(66.2%, 51.2%, 0%, 16.5%)
CIE-LABlab(47.08, 23.65, -59.65)
CIE-LCHlch(47.08, 64.17, 291.63°)
OKLaboklab(55.25% -0.0058 -0.1712)
OKLCHoklch(55.25% 0.171 268.1)
XYZxyz(19.6289, 16.0806, 65.0073)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4868D5 #D5B548
analogous
#48AED5 #4868D5 #6E48D5
triadic
#4868D5 #D54868 #68D548
tetradic
#4868D5 #D548AE #D5B548 #48D56E
square
#4868D5 #D548AE #D5B548 #48D56E
split-complementary
#4868D5 #D56E48 #AED548
monochromatic
#1E3584 #2A4AB6 #4868D5 #7A91E0 #ACBAEC

Accessibility & contrast

On white

4.98
#4868D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4868D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4868D5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4868D5#FFFFFF#000000##FFFFFF
##4868D51.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2676D9
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#008294
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4868d5;
/* rgb */ color: rgb(72, 104, 213);
/* oklch */ color: oklch(55.2% 0.171 268.1);
Tailwind
colors: {
  custom: {
    50: '#8a92e3',
    500: '#4868d5',
    950: '#000000',
  },
}
SCSS
$custom: #4868d5;
$custom-light: #8a92e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4868d5",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 226.383,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.17132,
    "h": 268.1
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#4868D5
secondary
#DACC9F
accent
#C142E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0D15
muted
#7E7D84

Preview Lab

Preview with #4868D5

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

Preview Lab → · Contrast checker → · Palette generator →

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