#4865D8#4865D8

#4865D8 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.9% C 0.179 H 269.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4865D8
RGBrgb(72, 101, 216)
HSLhsl(228, 65%, 56%)
HSVhsv(228, 67%, 85%)
CMYKcmyk(66.7%, 53.2%, 0%, 15.3%)
CIE-LABlab(46.50, 26.59, -62.30)
CIE-LCHlch(46.50, 67.73, 293.11°)
OKLaboklab(54.87% -0.0029 -0.179)
OKLCHoklch(54.87% 0.179 269.1)
XYZxyz(19.7166, 15.6411, 66.9324)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865D8 #D8BB48
analogous
#48ADD8 #4865D8 #7348D8
triadic
#4865D8 #D84865 #65D848
tetradic
#4865D8 #D848AD #D8BB48 #48D873
square
#4865D8 #D848AD #D8BB48 #48D873
split-complementary
#4865D8 #D87348 #ADD848
monochromatic
#1D3389 #2845BB #4865D8 #7A8FE3 #ADBAEE

Accessibility & contrast

On white

5.09
#4865D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4865D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865D8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865D8#FFFFFF#000000##FFFFFF
##4865D81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1275DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4865d8;
/* rgb */ color: rgb(72, 101, 216);
/* oklch */ color: oklch(54.9% 0.179 269.1);
Tailwind
colors: {
  custom: {
    50: '#8b90e5',
    500: '#4865d8',
    950: '#000000',
  },
}
SCSS
$custom: #4865d8;
$custom-light: #8b90e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4865d8",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 227.917,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.17907,
    "h": 269.1
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#4865D8
secondary
#DBD0A0
accent
#C640E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4865D8

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

Preview Lab → · Contrast checker → · Palette generator →

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