#4864CE#4864CE

#4864CE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.167 H 269.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4864CE
RGBrgb(72, 100, 206)
HSLhsl(227, 58%, 55%)
HSVhsv(227, 65%, 81%)
CMYKcmyk(65%, 51.5%, 0%, 19.2%)
CIE-LABlab(45.56, 23.72, -58.10)
CIE-LCHlch(45.56, 62.75, 292.21°)
OKLaboklab(53.95% -0.0028 -0.1667)
OKLCHoklch(53.95% 0.167 269)
XYZxyz(18.3664, 14.9466, 60.2976)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864CE #CEB248
analogous
#48A7CE #4864CE #6F48CE
triadic
#4864CE #CE4864 #64CE48
tetradic
#4864CE #CE48A7 #CEB248 #48CE6F
square
#4864CE #CE48A7 #CEB248 #48CE6F
split-complementary
#4864CE #CE6F48 #A7CE48
monochromatic
#21347B #2E48AB #4864CE #788DDB #A9B6E8

Accessibility & contrast

On white

5.26
#4864CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4864CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864CE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864CE#FFFFFF#000000##FFFFFF
##4864CE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4864ce;
/* rgb */ color: rgb(72, 100, 206);
/* oklch */ color: oklch(53.9% 0.167 269.0);
Tailwind
colors: {
  custom: {
    50: '#898fde',
    500: '#4864ce',
    950: '#000000',
  },
}
SCSS
$custom: #4864ce;
$custom-light: #898fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4864ce",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 227.463,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.16673,
    "h": 269
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#4864CE
secondary
#D5C99D
accent
#C147E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4864CE

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

Preview Lab → · Contrast checker → · Palette generator →

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