#4865D9#4865D9

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

Color values

HEX#4865D9
RGBrgb(72, 101, 217)
HSLhsl(228, 66%, 57%)
HSVhsv(228, 67%, 85%)
CMYKcmyk(66.8%, 53.5%, 0%, 14.9%)
CIE-LABlab(46.57, 26.94, -62.75)
CIE-LCHlch(46.57, 68.29, 293.23°)
OKLaboklab(54.95% -0.0028 -0.1804)
OKLCHoklch(54.95% 0.18 269.1)
XYZxyz(19.8463, 15.6929, 67.6153)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865D9 #D9BC48
analogous
#48AED9 #4865D9 #7448D9
triadic
#4865D9 #D94865 #65D948
tetradic
#4865D9 #D948AE #D9BC48 #48D974
square
#4865D9 #D948AE #D9BC48 #48D974
split-complementary
#4865D9 #D97448 #AED948
monochromatic
#1D338A #2745BD #4865D9 #7B90E4 #ADBAEE

Accessibility & contrast

On white

5.07
#4865D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4865D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865D9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865D9#FFFFFF#000000##FFFFFF
##4865D91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DD
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4865d9;
/* rgb */ color: rgb(72, 101, 217);
/* oklch */ color: oklch(54.9% 0.180 269.1);
Tailwind
colors: {
  custom: {
    50: '#8b90e5',
    500: '#4865d9',
    950: '#000000',
  },
}
SCSS
$custom: #4865d9;
$custom-light: #8b90e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4865d9",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 217
  },
  "hsl": {
    "h": 228,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.18041,
    "h": 269.1
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#4865D9
secondary
#DCD0A1
accent
#C73FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4865D9

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

Preview Lab → · Contrast checker → · Palette generator →

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