#4866E3#4866E3

#4866E3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.193 H 269.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4866E3
RGBrgb(72, 102, 227)
HSLhsl(228, 73%, 59%)
HSVhsv(228, 68%, 89%)
CMYKcmyk(68.3%, 55.1%, 0%, 11%)
CIE-LABlab(47.53, 29.81, -66.87)
CIE-LCHlch(47.53, 73.21, 294.03°)
OKLaboklab(55.89% -0.0031 -0.1925)
OKLCHoklch(55.89% 0.193 269.1)
XYZxyz(21.2842, 16.4244, 74.7067)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866E3 #E3C548
analogous
#48B3E3 #4866E3 #7748E3
triadic
#4866E3 #E34866 #66E348
tetradic
#4866E3 #E348B3 #E3C548 #48E377
square
#4866E3 #E348B3 #E3C548 #48E377
split-complementary
#4866E3 #E37748 #B3E348
monochromatic
#173199 #2041CE #4866E3 #7D92EB #B2BFF3

Accessibility & contrast

On white

4.90
#4866E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4866E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866E3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866E3#FFFFFF#000000##FFFFFF
##4866E31.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4866e3;
/* rgb */ color: rgb(72, 102, 227);
/* oklch */ color: oklch(55.9% 0.193 269.1);
Tailwind
colors: {
  custom: {
    50: '#8d91ed',
    500: '#4866e3',
    950: '#000000',
  },
}
SCSS
$custom: #4866e3;
$custom-light: #8d91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4866e3",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 228.387,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.19251,
    "h": 269.1
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#4866E3
secondary
#E2D6A5
accent
#CC38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4866E3

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

Preview Lab → · Contrast checker → · Palette generator →

#4866E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva