#4865D7#4865D7

#4865D7 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.178 H 269.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4865D7
RGBrgb(72, 101, 215)
HSLhsl(228, 64%, 56%)
HSVhsv(228, 67%, 84%)
CMYKcmyk(66.5%, 53%, 0%, 15.7%)
CIE-LABlab(46.43, 26.24, -61.84)
CIE-LCHlch(46.43, 67.17, 292.99°)
OKLaboklab(54.8% -0.003 -0.1777)
OKLCHoklch(54.8% 0.178 269)
XYZxyz(19.5877, 15.5895, 66.2536)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865D7 #D7BA48
analogous
#48ADD7 #4865D7 #7348D7
triadic
#4865D7 #D74865 #65D748
tetradic
#4865D7 #D748AD #D7BA48 #48D773
square
#4865D7 #D748AD #D7BA48 #48D773
split-complementary
#4865D7 #D77348 #ADD748
monochromatic
#1E3387 #2946B9 #4865D7 #7A8FE2 #ACBAED

Accessibility & contrast

On white

5.10
#4865D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4865D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865D7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865D7#FFFFFF#000000##FFFFFF
##4865D71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1575DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4865d7;
/* rgb */ color: rgb(72, 101, 215);
/* oklch */ color: oklch(54.8% 0.178 269.0);
Tailwind
colors: {
  custom: {
    50: '#8a90e4',
    500: '#4865d7',
    950: '#000000',
  },
}
SCSS
$custom: #4865d7;
$custom-light: #8a90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4865d7",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 215
  },
  "hsl": {
    "h": 227.832,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.548,
    "c": 0.17772,
    "h": 269
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#4865D7
secondary
#DBCFA0
accent
#C541E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4865D7

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

Preview Lab → · Contrast checker → · Palette generator →

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