#4864D2#4864D2

#4864D2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.172 H 269.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4864D2
RGBrgb(72, 100, 210)
HSLhsl(228, 61%, 55%)
HSVhsv(228, 66%, 82%)
CMYKcmyk(65.7%, 52.4%, 0%, 17.6%)
CIE-LABlab(45.83, 25.12, -59.96)
CIE-LCHlch(45.83, 65.00, 292.73°)
OKLaboklab(54.24% -0.0024 -0.1722)
OKLCHoklch(54.24% 0.172 269.2)
XYZxyz(18.8585, 15.1435, 62.8894)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864D2 #D2B648
analogous
#48A9D2 #4864D2 #7148D2
triadic
#4864D2 #D24864 #64D248
tetradic
#4864D2 #D248A9 #D2B648 #48D271
square
#4864D2 #D248A9 #D2B648 #48D271
split-complementary
#4864D2 #D27148 #A9D248
monochromatic
#203380 #2C47B1 #4864D2 #798EDE #AAB7EA

Accessibility & contrast

On white

5.21
#4864D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4864D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864D2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864D2#FFFFFF#000000##FFFFFF
##4864D21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4864d2;
/* rgb */ color: rgb(72, 100, 210);
/* oklch */ color: oklch(54.2% 0.172 269.2);
Tailwind
colors: {
  custom: {
    50: '#898fe0',
    500: '#4864d2',
    950: '#000000',
  },
}
SCSS
$custom: #4864d2;
$custom-light: #898fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4864d2",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 227.826,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.1722,
    "h": 269.2
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#4864D2
secondary
#D8CC9E
accent
#C344E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4864D2

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

Preview Lab → · Contrast checker → · Palette generator →

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