#4868E7#4868E7

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

Color values

HEX#4868E7
RGBrgb(72, 104, 231)
HSLhsl(228, 77%, 59%)
HSVhsv(228, 69%, 91%)
CMYKcmyk(68.8%, 55%, 0%, 9.4%)
CIE-LABlab(48.32, 29.96, -67.84)
CIE-LCHlch(48.32, 74.16, 293.82°)
OKLaboklab(56.57% -0.0045 -0.1953)
OKLCHoklch(56.57% 0.195 268.7)
XYZxyz(22.0416, 17.0457, 77.7143)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4868E7 #E7C748
analogous
#48B7E7 #4868E7 #7848E7
triadic
#4868E7 #E74868 #68E748
tetradic
#4868E7 #E748B7 #E7C748 #48E778
square
#4868E7 #E748B7 #E7C748 #48E778
split-complementary
#4868E7 #E77848 #B7E748
monochromatic
#1531A0 #1C41D6 #4868E7 #7E95EE #B4C1F5

Accessibility & contrast

On white

4.76
#4868E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4868E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4868E7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4868E7#FFFFFF#000000##FFFFFF
##4868E71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4868e7;
/* rgb */ color: rgb(72, 104, 231);
/* oklch */ color: oklch(56.6% 0.195 268.7);
Tailwind
colors: {
  custom: {
    50: '#8d92ef',
    500: '#4868e7',
    950: '#000000',
  },
}
SCSS
$custom: #4868e7;
$custom-light: #8d92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4868e7",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 227.925,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.19538,
    "h": 268.7
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#4868E7
secondary
#E4D8A6
accent
#CD34F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D17
muted
#7E7D85

Preview Lab

Preview with #4868E7

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

Preview Lab → · Contrast checker → · Palette generator →

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