#4865D2#4865D2

#4865D2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.171 H 268.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4865D2
RGBrgb(72, 101, 210)
HSLhsl(227, 61%, 55%)
HSVhsv(227, 66%, 82%)
CMYKcmyk(65.7%, 51.9%, 0%, 17.6%)
CIE-LABlab(46.09, 24.49, -59.53)
CIE-LCHlch(46.09, 64.37, 292.36°)
OKLaboklab(54.44% -0.0033 -0.1709)
OKLCHoklch(54.44% 0.171 268.9)
XYZxyz(18.9551, 15.3365, 62.9216)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865D2 #D2B548
analogous
#48AAD2 #4865D2 #7048D2
triadic
#4865D2 #D24865 #65D248
tetradic
#4865D2 #D248AA #D2B548 #48D270
square
#4865D2 #D248AA #D2B548 #48D270
split-complementary
#4865D2 #D27048 #AAD248
monochromatic
#203480 #2C48B1 #4865D2 #798EDE #AAB8EA

Accessibility & contrast

On white

5.16
#4865D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4865D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865D2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865D2#FFFFFF#000000##FFFFFF
##4865D21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2074D6
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4865d2;
/* rgb */ color: rgb(72, 101, 210);
/* oklch */ color: oklch(54.4% 0.171 268.9);
Tailwind
colors: {
  custom: {
    50: '#8990e0',
    500: '#4865d2',
    950: '#000000',
  },
}
SCSS
$custom: #4865d2;
$custom-light: #8990e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4865d2",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 210
  },
  "hsl": {
    "h": 227.391,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.17095,
    "h": 268.9
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#4865D2
secondary
#D8CC9E
accent
#C244E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4865D2

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

Preview Lab → · Contrast checker → · Palette generator →

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