#4864CA#4864CA

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

Color values

HEX#4864CA
RGBrgb(72, 100, 202)
HSLhsl(227, 55%, 54%)
HSVhsv(227, 64%, 79%)
CMYKcmyk(64.4%, 50.5%, 0%, 20.8%)
CIE-LABlab(45.30, 22.32, -56.23)
CIE-LCHlch(45.30, 60.50, 291.65°)
OKLaboklab(53.66% -0.0032 -0.1612)
OKLCHoklch(53.66% 0.161 268.9)
XYZxyz(17.8867, 14.7547, 57.7710)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864CA #CAAE48
analogous
#48A5CA #4864CA #6D48CA
triadic
#4864CA #CA4864 #64CA48
tetradic
#4864CA #CA48A5 #CAAE48 #48CA6D
square
#4864CA #CA48A5 #CAAE48 #48CA6D
split-complementary
#4864CA #CA6D48 #A5CA48
monochromatic
#223476 #3049A5 #4864CA #778CD8 #A7B4E5

Accessibility & contrast

On white

5.31
#4864CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4864CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864CA#FFFFFF#000000##FFFFFF
##4864CA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4864ca;
/* rgb */ color: rgb(72, 100, 202);
/* oklch */ color: oklch(53.7% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#888fdb',
    500: '#4864ca',
    950: '#000000',
  },
}
SCSS
$custom: #4864ca;
$custom-light: #888fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4864ca",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 227.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53664,
    "c": 0.16124,
    "h": 268.9
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4864CA

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

Preview Lab → · Contrast checker → · Palette generator →

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