#4865D6#4865D6

#4865D6 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.7% C 0.176 H 269.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4865D6
RGBrgb(72, 101, 214)
HSLhsl(228, 63%, 56%)
HSVhsv(228, 66%, 84%)
CMYKcmyk(66.4%, 52.8%, 0%, 16.1%)
CIE-LABlab(46.36, 25.89, -61.38)
CIE-LCHlch(46.36, 66.61, 292.87°)
OKLaboklab(54.73% -0.003 -0.1763)
OKLCHoklch(54.73% 0.176 269)
XYZxyz(19.4596, 15.5383, 65.5790)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865D6 #D6B948
analogous
#48ACD6 #4865D6 #7248D6
triadic
#4865D6 #D64865 #65D648
tetradic
#4865D6 #D648AC #D6B948 #48D672
square
#4865D6 #D648AC #D6B948 #48D672
split-complementary
#4865D6 #D67248 #ACD648
monochromatic
#1E3386 #2946B8 #4865D6 #7A8FE1 #ACB9EC

Accessibility & contrast

On white

5.11
#4865D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4865D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865D6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865D6#FFFFFF#000000##FFFFFF
##4865D61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1875DA
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4865d6;
/* rgb */ color: rgb(72, 101, 214);
/* oklch */ color: oklch(54.7% 0.176 269.0);
Tailwind
colors: {
  custom: {
    50: '#8a90e3',
    500: '#4865d6',
    950: '#000000',
  },
}
SCSS
$custom: #4865d6;
$custom-light: #8a90e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4865d6",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 214
  },
  "hsl": {
    "h": 227.746,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.17638,
    "h": 269
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#4865D6
secondary
#DACEA0
accent
#C541E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4865D6

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

Preview Lab → · Contrast checker → · Palette generator →

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