#4C6BD2#4C6BD2

#4C6BD2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.9% C 0.162 H 268.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4C6BD2
RGBrgb(76, 107, 210)
HSLhsl(226, 60%, 56%)
HSVhsv(226, 64%, 82%)
CMYKcmyk(63.8%, 49%, 0%, 17.6%)
CIE-LABlab(47.88, 21.37, -56.63)
CIE-LCHlch(47.88, 60.53, 290.68°)
OKLaboklab(55.85% -0.0051 -0.1622)
OKLCHoklch(55.85% 0.162 268.2)
XYZxyz(19.8671, 16.7032, 63.1373)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6BD2 #D2B34C
analogous
#4CAED2 #4C6BD2 #704CD2
triadic
#4C6BD2 #D24C6B #6BD24C
tetradic
#4C6BD2 #D24CAE #D2B34C #4CD270
square
#4C6BD2 #D24CAE #D2B34C #4CD270
split-complementary
#4C6BD2 #D2704C #AED24C
monochromatic
#213883 #2D4CB4 #4C6BD2 #7D93DE #AEBCEB

Accessibility & contrast

On white

4.84
#4C6BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4C6BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6BD2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6BD2#FFFFFF#000000##FFFFFF
##4C6BD21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3478D6
Deuteranopia (green-blind)
#126CD0
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c6bd2;
/* rgb */ color: rgb(76, 107, 210);
/* oklch */ color: oklch(55.9% 0.162 268.2);
Tailwind
colors: {
  custom: {
    50: '#8b94e0',
    500: '#4c6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #4c6bd2;
$custom-light: #8b94e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6bd2",
  "rgb": {
    "r": 76,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 226.119,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.1623,
    "h": 268.2
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#4C6BD2
secondary
#D9CCA1
accent
#BE45E3
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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