#4865CD#4865CD

#4865CD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.164 H 268.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4865CD
RGBrgb(72, 101, 205)
HSLhsl(227, 57%, 54%)
HSVhsv(227, 65%, 80%)
CMYKcmyk(64.9%, 50.7%, 0%, 19.6%)
CIE-LABlab(45.76, 22.74, -57.21)
CIE-LCHlch(45.76, 61.56, 291.68°)
OKLaboklab(54.08% -0.0038 -0.1641)
OKLCHoklch(54.08% 0.164 268.7)
XYZxyz(18.3419, 15.0912, 59.6921)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865CD #CDB048
analogous
#48A8CD #4865CD #6D48CD
triadic
#4865CD #CD4865 #65CD48
tetradic
#4865CD #CD48A8 #CDB048 #48CD6D
square
#4865CD #CD48A8 #CDB048 #48CD6D
split-complementary
#4865CD #CD6D48 #A8CD48
monochromatic
#213479 #2E49A9 #4865CD #788DDA #A8B6E7

Accessibility & contrast

On white

5.23
#4865CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4865CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865CD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865CD#FFFFFF#000000##FFFFFF
##4865CD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4865cd;
/* rgb */ color: rgb(72, 101, 205);
/* oklch */ color: oklch(54.1% 0.164 268.7);
Tailwind
colors: {
  custom: {
    50: '#8890dd',
    500: '#4865cd',
    950: '#000000',
  },
}
SCSS
$custom: #4865cd;
$custom-light: #8890dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4865cd",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 226.917,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54078,
    "c": 0.16411,
    "h": 268.7
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#4865CD
secondary
#D5C89C
accent
#BF47E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4865CD

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

Preview Lab → · Contrast checker → · Palette generator →

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