#4C6CCE#4C6CCE

#4C6CCE is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.8% C 0.156 H 267.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4C6CCE
RGBrgb(76, 108, 206)
HSLhsl(225, 57%, 55%)
HSVhsv(225, 63%, 81%)
CMYKcmyk(63.1%, 47.6%, 0%, 19.2%)
CIE-LABlab(47.90, 19.36, -54.32)
CIE-LCHlch(47.90, 57.67, 289.62°)
OKLaboklab(55.78% -0.0066 -0.1554)
OKLCHoklch(55.78% 0.156 267.6)
XYZxyz(19.4798, 16.7161, 60.5805)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CCE #CEAE4C
analogous
#4CADCE #4C6CCE #6D4CCE
triadic
#4C6CCE #CE4C6C #6CCE4C
tetradic
#4C6CCE #CE4CAD #CEAE4C #4CCE6D
square
#4C6CCE #CE4CAD #CEAE4C #4CCE6D
split-complementary
#4C6CCE #CE6D4C #ADCE4C
monochromatic
#22397D #2F4EAD #4C6CCE #7C93DB #ACBBE8

Accessibility & contrast

On white

4.83
#4C6CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C6CCE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CCE#FFFFFF#000000##FFFFFF
##4C6CCE1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#216CCC
Tritanopia (blue-blind)
#008293
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c6cce;
/* rgb */ color: rgb(76, 108, 206);
/* oklch */ color: oklch(55.8% 0.156 267.6);
Tailwind
colors: {
  custom: {
    50: '#8a95dd',
    500: '#4c6cce',
    950: '#000000',
  },
}
SCSS
$custom: #4c6cce;
$custom-light: #8a95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6cce",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 225.231,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.15555,
    "h": 267.6
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#4C6CCE
secondary
#D6C9A0
accent
#BB48E0
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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