#4865E7#4865E7

#4865E7 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.199 H 269.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4865E7
RGBrgb(72, 101, 231)
HSLhsl(229, 77%, 59%)
HSVhsv(229, 69%, 91%)
CMYKcmyk(68.8%, 56.3%, 0%, 9.4%)
CIE-LABlab(47.56, 31.83, -69.07)
CIE-LCHlch(47.56, 76.05, 294.74°)
OKLaboklab(56.01% -0.0021 -0.199)
OKLCHoklch(56.01% 0.199 269.4)
XYZxyz(21.7450, 16.4525, 77.6155)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865E7 #E7CA48
analogous
#48B4E7 #4865E7 #7B48E7
triadic
#4865E7 #E74865 #65E748
tetradic
#4865E7 #E748B4 #E7CA48 #48E77B
square
#4865E7 #E748B4 #E7CA48 #48E77B
split-complementary
#4865E7 #E77B48 #B4E748
monochromatic
#152EA0 #1C3ED6 #4865E7 #7E93EE #B4C0F5

Accessibility & contrast

On white

4.89
#4865E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4865E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865E7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865E7#FFFFFF#000000##FFFFFF
##4865E71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4865e7;
/* rgb */ color: rgb(72, 101, 231);
/* oklch */ color: oklch(56.0% 0.199 269.4);
Tailwind
colors: {
  custom: {
    50: '#8d90ef',
    500: '#4865e7',
    950: '#000000',
  },
}
SCSS
$custom: #4865e7;
$custom-light: #8d90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4865e7",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 229.057,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.19898,
    "h": 269.4
  },
  "luminance": 0.16455
}

Semantic roles & 50–950 ramp

primary
#4865E7
secondary
#E4D9A6
accent
#D134F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4865E7

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

Preview Lab → · Contrast checker → · Palette generator →

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