#4864CF#4864CF

#4864CF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.168 H 269.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4864CF
RGBrgb(72, 100, 207)
HSLhsl(228, 58%, 55%)
HSVhsv(228, 65%, 81%)
CMYKcmyk(65.2%, 51.7%, 0%, 18.8%)
CIE-LABlab(45.63, 24.07, -58.56)
CIE-LCHlch(45.63, 63.32, 292.34°)
OKLaboklab(54.02% -0.0027 -0.1681)
OKLCHoklch(54.02% 0.168 269.1)
XYZxyz(18.4883, 14.9954, 60.9395)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864CF #CFB348
analogous
#48A7CF #4864CF #7048CF
triadic
#4864CF #CF4864 #64CF48
tetradic
#4864CF #CF48A7 #CFB348 #48CF70
square
#4864CF #CF48A7 #CFB348 #48CF70
split-complementary
#4864CF #CF7048 #A7CF48
monochromatic
#21347C #2D48AD #4864CF #788DDC #A9B6E8

Accessibility & contrast

On white

5.25
#4864CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4864CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864CF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864CF#FFFFFF#000000##FFFFFF
##4864CF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4864cf;
/* rgb */ color: rgb(72, 100, 207);
/* oklch */ color: oklch(54.0% 0.168 269.1);
Tailwind
colors: {
  custom: {
    50: '#898fde',
    500: '#4864cf',
    950: '#000000',
  },
}
SCSS
$custom: #4864cf;
$custom-light: #898fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4864cf",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 227.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.1681,
    "h": 269.1
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#4864CF
secondary
#D6CA9D
accent
#C146E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4864CF

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

Preview Lab → · Contrast checker → · Palette generator →

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