#4866CA#4866CA

#4866CA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.159 H 268.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4866CA
RGBrgb(72, 102, 202)
HSLhsl(226, 55%, 54%)
HSVhsv(226, 64%, 79%)
CMYKcmyk(64.4%, 49.5%, 0%, 20.8%)
CIE-LABlab(45.83, 21.05, -55.37)
CIE-LCHlch(45.83, 59.24, 290.82°)
OKLaboklab(54.07% -0.0051 -0.1587)
OKLCHoklch(54.07% 0.159 268.2)
XYZxyz(18.0809, 15.1431, 57.8357)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4866CA #CAAC48
analogous
#48A7CA #4866CA #6B48CA
triadic
#4866CA #CA4866 #66CA48
tetradic
#4866CA #CA48A7 #CAAC48 #48CA6B
square
#4866CA #CA48A7 #CAAC48 #48CA6B
split-complementary
#4866CA #CA6B48 #A7CA48
monochromatic
#223576 #304BA5 #4866CA #778ED8 #A7B5E5

Accessibility & contrast

On white

5.21
#4866CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4866CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4866CA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4866CA#FFFFFF#000000##FFFFFF
##4866CA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#0C67C8
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4866ca;
/* rgb */ color: rgb(72, 102, 202);
/* oklch */ color: oklch(54.1% 0.159 268.2);
Tailwind
colors: {
  custom: {
    50: '#8891db',
    500: '#4866ca',
    950: '#000000',
  },
}
SCSS
$custom: #4866ca;
$custom-light: #8891db;
$custom-dark: #000000;
JSON
{
  "hex": "#4866ca",
  "rgb": {
    "r": 72,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 226.154,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.15874,
    "h": 268.2
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#4866CA
secondary
#D3C69B
accent
#BC49DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4866CA

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

Preview Lab → · Contrast checker → · Palette generator →

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