#4864D8#4864D8

#4864D8 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.180 H 269.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4864D8
RGBrgb(72, 100, 216)
HSLhsl(228, 65%, 56%)
HSVhsv(228, 67%, 85%)
CMYKcmyk(66.7%, 53.7%, 0%, 15.3%)
CIE-LABlab(46.24, 27.22, -62.71)
CIE-LCHlch(46.24, 68.36, 293.46°)
OKLaboklab(54.68% -0.002 -0.1803)
OKLCHoklch(54.68% 0.18 269.4)
XYZxyz(19.6201, 15.4481, 66.9002)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864D8 #D8BC48
analogous
#48ACD8 #4864D8 #7448D8
triadic
#4864D8 #D84864 #64D848
tetradic
#4864D8 #D848AC #D8BC48 #48D874
square
#4864D8 #D848AC #D8BC48 #48D874
split-complementary
#4864D8 #D87448 #ACD848
monochromatic
#1D3289 #2844BB #4864D8 #7A8FE3 #ADB9EE

Accessibility & contrast

On white

5.13
#4864D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4864D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864D8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864D8#FFFFFF#000000##FFFFFF
##4864D81.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B74DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4864d8;
/* rgb */ color: rgb(72, 100, 216);
/* oklch */ color: oklch(54.7% 0.180 269.4);
Tailwind
colors: {
  custom: {
    50: '#8b8fe5',
    500: '#4864d8',
    950: '#000000',
  },
}
SCSS
$custom: #4864d8;
$custom-light: #8b8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4864d8",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 228.333,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.1803,
    "h": 269.4
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#4864D8
secondary
#DBD0A0
accent
#C740E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4864D8

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

Preview Lab → · Contrast checker → · Palette generator →

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