#4866DF#4866DF

#4866DF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.6% C 0.187 H 269.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4866DF
RGBrgb(72, 102, 223)
HSLhsl(228, 70%, 58%)
HSVhsv(228, 68%, 87%)
CMYKcmyk(67.7%, 54.3%, 0%, 12.5%)
CIE-LABlab(47.24, 28.41, -65.07)
CIE-LCHlch(47.24, 71.00, 293.59°)
OKLaboklab(55.59% -0.0033 -0.1872)
OKLCHoklch(55.59% 0.187 269)
XYZxyz(20.7386, 16.2062, 71.8329)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866DF #DFC148
analogous
#48B2DF #4866DF #7548DF
triadic
#4866DF #DF4866 #66DF48
tetradic
#4866DF #DF48B2 #DFC148 #48DF75
square
#4866DF #DF48B2 #DFC148 #48DF75
split-complementary
#4866DF #DF7548 #B2DF48
monochromatic
#1A3293 #2343C7 #4866DF #7C92E8 #B0BDF1

Accessibility & contrast

On white

4.95
#4866DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4866DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866DF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866DF#FFFFFF#000000##FFFFFF
##4866DF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4866df;
/* rgb */ color: rgb(72, 102, 223);
/* oklch */ color: oklch(55.6% 0.187 269.0);
Tailwind
colors: {
  custom: {
    50: '#8c91ea',
    500: '#4866df',
    950: '#000000',
  },
}
SCSS
$custom: #4866df;
$custom-light: #8c91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4866df",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 228.079,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.18722,
    "h": 269
  },
  "luminance": 0.16208
}

Semantic roles & 50–950 ramp

primary
#4866DF
secondary
#E0D4A3
accent
#CA3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4866DF

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

Preview Lab → · Contrast checker → · Palette generator →

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