#4864BF#4864BF

#4864BF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.146 H 268.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4864BF
RGBrgb(72, 100, 191)
HSLhsl(226, 48%, 52%)
HSVhsv(226, 62%, 75%)
CMYKcmyk(62.3%, 47.6%, 0%, 25.1%)
CIE-LABlab(44.59, 18.48, -51.01)
CIE-LCHlch(44.59, 54.25, 289.92°)
OKLaboklab(52.9% -0.0045 -0.1458)
OKLCHoklch(52.9% 0.146 268.2)
XYZxyz(16.6304, 14.2522, 51.1547)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4864BF #BFA348
analogous
#48A0BF #4864BF #6848BF
triadic
#4864BF #BF4864 #64BF48
tetradic
#4864BF #BF48A0 #BFA348 #48BF68
square
#4864BF #BF48A0 #BFA348 #48BF68
split-complementary
#4864BF #BF6848 #A0BF48
monochromatic
#243468 #344B96 #4864BF #758ACF #A3B1DF

Accessibility & contrast

On white

5.45
#4864BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4864BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4864BF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4864BF#FFFFFF#000000##FFFFFF
##4864BF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#2064BD
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4864bf;
/* rgb */ color: rgb(72, 100, 191);
/* oklch */ color: oklch(52.9% 0.146 268.2);
Tailwind
colors: {
  custom: {
    50: '#868fd3',
    500: '#4864bf',
    950: '#000000',
  },
}
SCSS
$custom: #4864bf;
$custom-light: #868fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4864bf",
  "rgb": {
    "r": 72,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 225.882,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.14592,
    "h": 268.2
  },
  "luminance": 0.14254
}

Semantic roles & 50–950 ramp

primary
#4864BF
secondary
#CCBF97
accent
#B850D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4864BF

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

Preview Lab → · Contrast checker → · Palette generator →

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