#4864CB#4864CB

#4864CB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.163 H 268.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4864CB
RGBrgb(72, 100, 203)
HSLhsl(227, 56%, 54%)
HSVhsv(227, 65%, 80%)
CMYKcmyk(64.5%, 50.7%, 0%, 20.4%)
CIE-LABlab(45.36, 22.67, -56.70)
CIE-LCHlch(45.36, 61.06, 291.79°)
OKLaboklab(53.74% -0.0031 -0.1626)
OKLCHoklch(53.74% 0.163 268.9)
XYZxyz(18.0055, 14.8022, 58.3966)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864CB #CBAF48
analogous
#48A6CB #4864CB #6E48CB
triadic
#4864CB #CB4864 #64CB48
tetradic
#4864CB #CB48A6 #CBAF48 #48CB6E
square
#4864CB #CB48A6 #CBAF48 #48CB6E
split-complementary
#4864CB #CB6E48 #A6CB48
monochromatic
#223477 #2F49A6 #4864CB #788CD9 #A7B5E6

Accessibility & contrast

On white

5.30
#4864CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4864CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864CB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864CB#FFFFFF#000000##FFFFFF
##4864CB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4864cb;
/* rgb */ color: rgb(72, 100, 203);
/* oklch */ color: oklch(53.7% 0.163 268.9);
Tailwind
colors: {
  custom: {
    50: '#888fdb',
    500: '#4864cb',
    950: '#000000',
  },
}
SCSS
$custom: #4864cb;
$custom-light: #888fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4864cb",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 227.176,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.16262,
    "h": 268.9
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#4864CB
secondary
#D3C79B
accent
#BF49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4864CB

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

Preview Lab → · Contrast checker → · Palette generator →

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