#4866E1#4866E1

#4866E1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.190 H 269.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4866E1
RGBrgb(72, 102, 225)
HSLhsl(228, 72%, 58%)
HSVhsv(228, 68%, 88%)
CMYKcmyk(68%, 54.7%, 0%, 11.8%)
CIE-LABlab(47.38, 29.11, -65.97)
CIE-LCHlch(47.38, 72.11, 293.81°)
OKLaboklab(55.74% -0.0032 -0.1898)
OKLCHoklch(55.74% 0.19 269)
XYZxyz(21.0098, 16.3147, 73.2614)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866E1 #E1C348
analogous
#48B3E1 #4866E1 #7648E1
triadic
#4866E1 #E14866 #66E148
tetradic
#4866E1 #E148B3 #E1C348 #48E176
square
#4866E1 #E148B3 #E1C348 #48E176
split-complementary
#4866E1 #E17648 #B3E148
monochromatic
#193196 #2142CB #4866E1 #7D92EA #B1BEF2

Accessibility & contrast

On white

4.93
#4866E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4866E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866E1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866E1#FFFFFF#000000##FFFFFF
##4866E11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4866e1;
/* rgb */ color: rgb(72, 102, 225);
/* oklch */ color: oklch(55.7% 0.190 269.0);
Tailwind
colors: {
  custom: {
    50: '#8c91eb',
    500: '#4866e1',
    950: '#000000',
  },
}
SCSS
$custom: #4866e1;
$custom-light: #8c91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4866e1",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 228.235,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.18987,
    "h": 269
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

primary
#4866E1
secondary
#E1D5A4
accent
#CB39EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4866E1

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

Preview Lab → · Contrast checker → · Palette generator →

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