#4866CE#4866CE

#4866CE is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.164 H 268.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4866CE
RGBrgb(72, 102, 206)
HSLhsl(227, 58%, 55%)
HSVhsv(227, 65%, 81%)
CMYKcmyk(65%, 50.5%, 0%, 19.2%)
CIE-LABlab(46.09, 22.45, -57.25)
CIE-LCHlch(46.09, 61.49, 291.42°)
OKLaboklab(54.35% -0.0046 -0.1642)
OKLCHoklch(54.35% 0.164 268.4)
XYZxyz(18.5606, 15.3350, 60.3624)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866CE #CEB048
analogous
#48A9CE #4866CE #6D48CE
triadic
#4866CE #CE4866 #66CE48
tetradic
#4866CE #CE48A9 #CEB048 #48CE6D
square
#4866CE #CE48A9 #CEB048 #48CE6D
split-complementary
#4866CE #CE6D48 #A9CE48
monochromatic
#21357B #2E4AAB #4866CE #788EDB #A9B7E8

Accessibility & contrast

On white

5.16
#4866CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4866CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866CE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866CE#FFFFFF#000000##FFFFFF
##4866CE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4866ce;
/* rgb */ color: rgb(72, 102, 206);
/* oklch */ color: oklch(54.3% 0.164 268.4);
Tailwind
colors: {
  custom: {
    50: '#8991de',
    500: '#4866ce',
    950: '#000000',
  },
}
SCSS
$custom: #4866ce;
$custom-light: #8991de;
$custom-dark: #000000;
JSON
{
  "hex": "#4866ce",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 226.567,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.16425,
    "h": 268.4
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#4866CE
secondary
#D5C99D
accent
#BE47E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4866CE

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

Preview Lab → · Contrast checker → · Palette generator →

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