#4868E8#4868E8

#4868E8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.6% C 0.197 H 268.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4868E8
RGBrgb(72, 104, 232)
HSLhsl(228, 78%, 60%)
HSVhsv(228, 69%, 91%)
CMYKcmyk(69%, 55.2%, 0%, 9%)
CIE-LABlab(48.39, 30.31, -68.29)
CIE-LCHlch(48.39, 74.71, 293.93°)
OKLaboklab(56.65% -0.0045 -0.1966)
OKLCHoklch(56.65% 0.197 268.7)
XYZxyz(22.1833, 17.1023, 78.4603)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4868E8 #E8C848
analogous
#48B8E8 #4868E8 #7848E8
triadic
#4868E8 #E84868 #68E848
tetradic
#4868E8 #E848B8 #E8C848 #48E878
square
#4868E8 #E848B8 #E8C848 #48E878
split-complementary
#4868E8 #E87848 #B8E848
monochromatic
#1430A1 #1B41D8 #4868E8 #7E95EF #B5C2F6

Accessibility & contrast

On white

4.75
#4868E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4868E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4868E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4868E8#FFFFFF#000000##FFFFFF
##4868E81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00879E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4868e8;
/* rgb */ color: rgb(72, 104, 232);
/* oklch */ color: oklch(56.6% 0.197 268.7);
Tailwind
colors: {
  custom: {
    50: '#8d92f0',
    500: '#4868e8',
    950: '#000000',
  },
}
SCSS
$custom: #4868e8;
$custom-light: #8d92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4868e8",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 228,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.19669,
    "h": 268.7
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#4868E8
secondary
#E5D9A7
accent
#CE34F4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D17
muted
#7E7D85

Preview Lab

Preview with #4868E8

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

Preview Lab → · Contrast checker → · Palette generator →

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