#4864E3#4864E3

#4864E3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.5% C 0.195 H 269.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4864E3
RGBrgb(72, 100, 227)
HSLhsl(229, 73%, 59%)
HSVhsv(229, 68%, 89%)
CMYKcmyk(68.3%, 55.9%, 0%, 11%)
CIE-LABlab(47.02, 31.06, -67.69)
CIE-LCHlch(47.02, 74.47, 294.65°)
OKLaboklab(55.51% -0.0015 -0.1949)
OKLCHoklch(55.51% 0.195 269.6)
XYZxyz(21.0900, 16.0361, 74.6420)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864E3 #E3C748
analogous
#48B2E3 #4864E3 #7948E3
triadic
#4864E3 #E34864 #64E348
tetradic
#4864E3 #E348B2 #E3C748 #48E379
square
#4864E3 #E348B2 #E3C748 #48E379
split-complementary
#4864E3 #E37948 #B2E348
monochromatic
#172F99 #203FCE #4864E3 #7D91EB #B2BEF3

Accessibility & contrast

On white

4.99
#4864E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4864E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864E3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864E3#FFFFFF#000000##FFFFFF
##4864E31.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)
#0077E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4864e3;
/* rgb */ color: rgb(72, 100, 227);
/* oklch */ color: oklch(55.5% 0.195 269.6);
Tailwind
colors: {
  custom: {
    50: '#8d8fed',
    500: '#4864e3',
    950: '#000000',
  },
}
SCSS
$custom: #4864e3;
$custom-light: #8d8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#4864e3",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 229.161,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55511,
    "c": 0.19494,
    "h": 269.6
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#4864E3
secondary
#E2D7A5
accent
#CF38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4864E3

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

Preview Lab → · Contrast checker → · Palette generator →

#4864E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva