#4865D3#4865D3

#4865D3 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.5% C 0.172 H 268.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4865D3
RGBrgb(72, 101, 211)
HSLhsl(227, 61%, 55%)
HSVhsv(227, 66%, 83%)
CMYKcmyk(65.9%, 52.1%, 0%, 17.3%)
CIE-LABlab(46.16, 24.84, -60.00)
CIE-LCHlch(46.16, 64.93, 292.49°)
OKLaboklab(54.51% -0.0033 -0.1723)
OKLCHoklch(54.51% 0.172 268.9)
XYZxyz(19.0800, 15.3864, 63.5798)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865D3 #D3B648
analogous
#48AAD3 #4865D3 #7048D3
triadic
#4865D3 #D34865 #65D348
tetradic
#4865D3 #D348AA #D3B648 #48D370
square
#4865D3 #D348AA #D3B648 #48D370
split-complementary
#4865D3 #D37048 #AAD348
monochromatic
#1F3481 #2B47B3 #4865D3 #798FDF #ABB8EB

Accessibility & contrast

On white

5.15
#4865D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4865D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865D3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865D3#FFFFFF#000000##FFFFFF
##4865D31.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F74D7
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4865d3;
/* rgb */ color: rgb(72, 101, 211);
/* oklch */ color: oklch(54.5% 0.172 268.9);
Tailwind
colors: {
  custom: {
    50: '#8a90e1',
    500: '#4865d3',
    950: '#000000',
  },
}
SCSS
$custom: #4865d3;
$custom-light: #8a90e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4865d3",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 211
  },
  "hsl": {
    "h": 227.482,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.17231,
    "h": 268.9
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4865D3

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

Preview Lab → · Contrast checker → · Palette generator →

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