#4866CF#4866CF

#4866CF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.4% C 0.166 H 268.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4866CF
RGBrgb(72, 102, 207)
HSLhsl(227, 58%, 55%)
HSVhsv(227, 65%, 81%)
CMYKcmyk(65.2%, 50.7%, 0%, 18.8%)
CIE-LABlab(46.16, 22.81, -57.71)
CIE-LCHlch(46.16, 62.06, 291.56°)
OKLaboklab(54.42% -0.0045 -0.1655)
OKLCHoklch(54.42% 0.166 268.4)
XYZxyz(18.6825, 15.3837, 61.0042)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866CF #CFB148
analogous
#48A9CF #4866CF #6E48CF
triadic
#4866CF #CF4866 #66CF48
tetradic
#4866CF #CF48A9 #CFB148 #48CF6E
square
#4866CF #CF48A9 #CFB148 #48CF6E
split-complementary
#4866CF #CF6E48 #A9CF48
monochromatic
#21357C #2D4AAD #4866CF #788FDC #A9B7E8

Accessibility & contrast

On white

5.15
#4866CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4866CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866CF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866CF#FFFFFF#000000##FFFFFF
##4866CF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4866cf;
/* rgb */ color: rgb(72, 102, 207);
/* oklch */ color: oklch(54.4% 0.166 268.4);
Tailwind
colors: {
  custom: {
    50: '#8991de',
    500: '#4866cf',
    950: '#000000',
  },
}
SCSS
$custom: #4866cf;
$custom-light: #8991de;
$custom-dark: #000000;
JSON
{
  "hex": "#4866cf",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 226.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.16561,
    "h": 268.4
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#4866CF
secondary
#D6C99D
accent
#BF46E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4866CF

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

Preview Lab → · Contrast checker → · Palette generator →

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