#4865CB#4865CB

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

Color values

HEX#4865CB
RGBrgb(72, 101, 203)
HSLhsl(227, 56%, 54%)
HSVhsv(227, 65%, 80%)
CMYKcmyk(64.5%, 50.2%, 0%, 20.4%)
CIE-LABlab(45.63, 22.04, -56.27)
CIE-LCHlch(45.63, 60.43, 291.39°)
OKLaboklab(53.94% -0.004 -0.1613)
OKLCHoklch(53.94% 0.161 268.6)
XYZxyz(18.1020, 14.9952, 58.4287)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865CB #CBAE48
analogous
#48A7CB #4865CB #6D48CB
triadic
#4865CB #CB4865 #65CB48
tetradic
#4865CB #CB48A7 #CBAE48 #48CB6D
square
#4865CB #CB48A7 #CBAE48 #48CB6D
split-complementary
#4865CB #CB6D48 #A7CB48
monochromatic
#223577 #2F4AA6 #4865CB #788DD9 #A7B5E6

Accessibility & contrast

On white

5.25
#4865CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4865CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865CB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865CB#FFFFFF#000000##FFFFFF
##4865CB1.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)
#2B72CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4865cb;
/* rgb */ color: rgb(72, 101, 203);
/* oklch */ color: oklch(53.9% 0.161 268.6);
Tailwind
colors: {
  custom: {
    50: '#8890db',
    500: '#4865cb',
    950: '#000000',
  },
}
SCSS
$custom: #4865cb;
$custom-light: #8890db;
$custom-dark: #000000;
JSON
{
  "hex": "#4865cb",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 226.718,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.16137,
    "h": 268.6
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#4865CB
secondary
#D3C79B
accent
#BE49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4865CB

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

Preview Lab → · Contrast checker → · Palette generator →

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