#4864BC#4864BC

#4864BC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.7% C 0.142 H 268.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4864BC
RGBrgb(72, 100, 188)
HSLhsl(226, 46%, 51%)
HSVhsv(226, 62%, 74%)
CMYKcmyk(61.7%, 46.8%, 0%, 26.3%)
CIE-LABlab(44.41, 17.44, -49.57)
CIE-LCHlch(44.41, 52.54, 289.38°)
OKLaboklab(52.7% -0.0049 -0.1416)
OKLCHoklch(52.7% 0.142 268)
XYZxyz(16.3037, 14.1215, 49.4338)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864BC #BCA048
analogous
#489EBC #4864BC #6648BC
triadic
#4864BC #BC4864 #64BC48
tetradic
#4864BC #BC489E #BCA048 #48BC66
square
#4864BC #BC489E #BCA048 #48BC66
split-complementary
#4864BC #BC6648 #9EBC48
monochromatic
#253465 #354C92 #4864BC #758ACC #A2B0DD

Accessibility & contrast

On white

5.49
#4864BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4864BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864BC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864BC#FFFFFF#000000##FFFFFF
##4864BC1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4864bc;
/* rgb */ color: rgb(72, 100, 188);
/* oklch */ color: oklch(52.7% 0.142 268.0);
Tailwind
colors: {
  custom: {
    50: '#868fd1',
    500: '#4864bc',
    950: '#000000',
  },
}
SCSS
$custom: #4864bc;
$custom-light: #868fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4864bc",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 225.517,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.14169,
    "h": 268
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#4864BC
secondary
#CABD96
accent
#B652D6
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4864BC

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

Preview Lab → · Contrast checker → · Palette generator →

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