#4864C8#4864C8

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

Color values

HEX#4864C8
RGBrgb(72, 100, 200)
HSLhsl(227, 54%, 53%)
HSVhsv(227, 64%, 78%)
CMYKcmyk(64%, 50%, 0%, 21.6%)
CIE-LABlab(45.17, 21.62, -55.29)
CIE-LCHlch(45.17, 59.37, 291.36°)
OKLaboklab(53.52% -0.0034 -0.1584)
OKLCHoklch(53.52% 0.158 268.8)
XYZxyz(17.6514, 14.6606, 56.5320)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864C8 #C8AC48
analogous
#48A4C8 #4864C8 #6C48C8
triadic
#4864C8 #C84864 #64C848
tetradic
#4864C8 #C848A4 #C8AC48 #48C86C
square
#4864C8 #C848A4 #C8AC48 #48C86C
split-complementary
#4864C8 #C86C48 #A4C848
monochromatic
#233473 #314AA2 #4864C8 #778CD6 #A6B4E4

Accessibility & contrast

On white

5.34
#4864C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4864C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864C8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864C8#FFFFFF#000000##FFFFFF
##4864C81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CC
Deuteranopia (green-blind)
#0665C6
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4864c8;
/* rgb */ color: rgb(72, 100, 200);
/* oklch */ color: oklch(53.5% 0.158 268.8);
Tailwind
colors: {
  custom: {
    50: '#888fd9',
    500: '#4864c8',
    950: '#000000',
  },
}
SCSS
$custom: #4864c8;
$custom-light: #888fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4864c8",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 226.875,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.15848,
    "h": 268.8
  },
  "luminance": 0.14662
}

Semantic roles & 50–950 ramp

primary
#4864C8
secondary
#D1C59A
accent
#BD4BDD
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4864C8

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

Preview Lab → · Contrast checker → · Palette generator →

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