#4865CC#4865CC

#4865CC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.163 H 268.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4865CC
RGBrgb(72, 101, 204)
HSLhsl(227, 56%, 54%)
HSVhsv(227, 65%, 80%)
CMYKcmyk(64.7%, 50.5%, 0%, 20%)
CIE-LABlab(45.69, 22.39, -56.74)
CIE-LCHlch(45.69, 61.00, 291.53°)
OKLaboklab(54.01% -0.0039 -0.1627)
OKLCHoklch(54.01% 0.163 268.6)
XYZxyz(18.2215, 15.0431, 59.0584)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865CC #CCAF48
analogous
#48A7CC #4865CC #6D48CC
triadic
#4865CC #CC4865 #65CC48
tetradic
#4865CC #CC48A7 #CCAF48 #48CC6D
square
#4865CC #CC48A7 #CCAF48 #48CC6D
split-complementary
#4865CC #CC6D48 #A7CC48
monochromatic
#213578 #2F49A8 #4865CC #788DD9 #A8B6E7

Accessibility & contrast

On white

5.24
#4865CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4865CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865CC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865CC#FFFFFF#000000##FFFFFF
##4865CC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72D0
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4865cc;
/* rgb */ color: rgb(72, 101, 204);
/* oklch */ color: oklch(54.0% 0.163 268.6);
Tailwind
colors: {
  custom: {
    50: '#8890dc',
    500: '#4865cc',
    950: '#000000',
  },
}
SCSS
$custom: #4865cc;
$custom-light: #8890dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4865cc",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 226.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.16275,
    "h": 268.6
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#4865CC
secondary
#D4C89C
accent
#BE48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4865CC

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

Preview Lab → · Contrast checker → · Palette generator →

#4865CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva