#4C6CD2#4C6CD2

#4C6CD2 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.161 H 267.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4C6CD2
RGBrgb(76, 108, 210)
HSLhsl(226, 60%, 56%)
HSVhsv(226, 64%, 82%)
CMYKcmyk(63.8%, 48.6%, 0%, 17.6%)
CIE-LABlab(48.15, 20.75, -56.20)
CIE-LCHlch(48.15, 59.91, 290.26°)
OKLaboklab(56.05% -0.0061 -0.1609)
OKLCHoklch(56.05% 0.161 267.8)
XYZxyz(19.9719, 16.9130, 63.1723)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CD2 #D2B24C
analogous
#4CAFD2 #4C6CD2 #6F4CD2
triadic
#4C6CD2 #D24C6C #6CD24C
tetradic
#4C6CD2 #D24CAF #D2B24C #4CD26F
square
#4C6CD2 #D24CAF #D2B24C #4CD26F
split-complementary
#4C6CD2 #D26F4C #AFD24C
monochromatic
#213883 #2D4DB4 #4C6CD2 #7D94DE #AEBCEB

Accessibility & contrast

On white

4.79
#4C6CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4C6CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6CD2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CD2#FFFFFF#000000##FFFFFF
##4C6CD21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3679D6
Deuteranopia (green-blind)
#176DD0
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c6cd2;
/* rgb */ color: rgb(76, 108, 210);
/* oklch */ color: oklch(56.1% 0.161 267.8);
Tailwind
colors: {
  custom: {
    50: '#8b95e0',
    500: '#4c6cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c6cd2;
$custom-light: #8b95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6cd2",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 225.672,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56053,
    "c": 0.16106,
    "h": 267.8
  },
  "luminance": 0.16915
}

Semantic roles & 50–950 ramp

primary
#4C6CD2
secondary
#D9CBA1
accent
#BD45E3
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6CD2

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

Preview Lab → · Contrast checker → · Palette generator →

#4C6CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva