#4C6FCA#4C6FCA

#4C6FCA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.146 H 266.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4C6FCA
RGBrgb(76, 111, 202)
HSLhsl(223, 54%, 55%)
HSVhsv(223, 62%, 79%)
CMYKcmyk(62.4%, 45%, 0%, 20.8%)
CIE-LABlab(48.47, 16.10, -51.12)
CIE-LCHlch(48.47, 53.60, 287.49°)
OKLaboklab(56.14% -0.0102 -0.1459)
OKLCHoklch(56.14% 0.146 266)
XYZxyz(19.3219, 17.1679, 58.1612)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6FCA #CAA74C
analogous
#4CAECA #4C6FCA #684CCA
triadic
#4C6FCA #CA4C6F #6FCA4C
tetradic
#4C6FCA #CA4CAE #CAA74C #4CCA68
square
#4C6FCA #CA4CAE #CAA74C #4CCA68
split-complementary
#4C6FCA #CA684C #AECA4C
monochromatic
#243B78 #3252A7 #4C6FCA #7B95D8 #AABBE6

Accessibility & contrast

On white

4.74
#4C6FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4C6FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6FCA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6FCA#FFFFFF#000000##FFFFFF
##4C6FCA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4479CD
Deuteranopia (green-blind)
#2F6EC8
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c6fca;
/* rgb */ color: rgb(76, 111, 202);
/* oklch */ color: oklch(56.1% 0.146 266.0);
Tailwind
colors: {
  custom: {
    50: '#8997db',
    500: '#4c6fca',
    950: '#000000',
  },
}
SCSS
$custom: #4c6fca;
$custom-light: #8997db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6fca",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 223.333,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5614,
    "c": 0.1463,
    "h": 266
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#4C6FCA
secondary
#D4C59E
accent
#B54ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4C6FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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