#4864C9#4864C9

#4864C9 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.6% C 0.160 H 268.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4864C9
RGBrgb(72, 100, 201)
HSLhsl(227, 54%, 54%)
HSVhsv(227, 64%, 79%)
CMYKcmyk(64.2%, 50.2%, 0%, 21.2%)
CIE-LABlab(45.23, 21.97, -55.76)
CIE-LCHlch(45.23, 59.93, 291.51°)
OKLaboklab(53.59% -0.0033 -0.1598)
OKLCHoklch(53.59% 0.16 268.8)
XYZxyz(17.7687, 14.7075, 57.1495)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864C9 #C9AD48
analogous
#48A4C9 #4864C9 #6C48C9
triadic
#4864C9 #C94864 #64C948
tetradic
#4864C9 #C948A4 #C9AD48 #48C96C
square
#4864C9 #C948A4 #C9AD48 #48C96C
split-complementary
#4864C9 #C96C48 #A4C948
monochromatic
#223474 #3049A4 #4864C9 #778CD7 #A7B4E5

Accessibility & contrast

On white

5.33
#4864C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4864C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864C9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864C9#FFFFFF#000000##FFFFFF
##4864C91.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CD
Deuteranopia (green-blind)
#0166C7
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4864c9;
/* rgb */ color: rgb(72, 100, 201);
/* oklch */ color: oklch(53.6% 0.160 268.8);
Tailwind
colors: {
  custom: {
    50: '#888fda',
    500: '#4864c9',
    950: '#000000',
  },
}
SCSS
$custom: #4864c9;
$custom-light: #888fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4864c9",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 201
  },
  "hsl": {
    "h": 226.977,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.15986,
    "h": 268.8
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#4864C9
secondary
#D2C69B
accent
#BE4ADE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4864C9

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

Preview Lab → · Contrast checker → · Palette generator →

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