#4865CE#4865CE

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

Color values

HEX#4865CE
RGBrgb(72, 101, 206)
HSLhsl(227, 58%, 55%)
HSVhsv(227, 65%, 81%)
CMYKcmyk(65%, 51%, 0%, 19.2%)
CIE-LABlab(45.82, 23.09, -57.67)
CIE-LCHlch(45.82, 62.12, 291.82°)
OKLaboklab(54.15% -0.0037 -0.1655)
OKLCHoklch(54.15% 0.165 268.7)
XYZxyz(18.4629, 15.1396, 60.3298)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865CE #CEB148
analogous
#48A8CE #4865CE #6E48CE
triadic
#4865CE #CE4865 #65CE48
tetradic
#4865CE #CE48A8 #CEB148 #48CE6E
square
#4865CE #CE48A8 #CEB148 #48CE6E
split-complementary
#4865CE #CE6E48 #A8CE48
monochromatic
#21347B #2E49AB #4865CE #788EDB #A9B6E8

Accessibility & contrast

On white

5.21
#4865CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4865CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865CE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865CE#FFFFFF#000000##FFFFFF
##4865CE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4865ce;
/* rgb */ color: rgb(72, 101, 206);
/* oklch */ color: oklch(54.1% 0.165 268.7);
Tailwind
colors: {
  custom: {
    50: '#8990de',
    500: '#4865ce',
    950: '#000000',
  },
}
SCSS
$custom: #4865ce;
$custom-light: #8990de;
$custom-dark: #000000;
JSON
{
  "hex": "#4865ce",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 227.015,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.16549,
    "h": 268.7
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#4865CE
secondary
#D5C99D
accent
#C047E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4865CE

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

Preview Lab → · Contrast checker → · Palette generator →

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