#4C6ECB#4C6ECB

#4C6ECB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.0% C 0.149 H 266.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4C6ECB
RGBrgb(76, 110, 203)
HSLhsl(224, 55%, 55%)
HSVhsv(224, 63%, 80%)
CMYKcmyk(62.6%, 45.8%, 0%, 20.4%)
CIE-LABlab(48.26, 17.07, -52.03)
CIE-LCHlch(48.26, 54.76, 288.17°)
OKLaboklab(56% -0.009 -0.1486)
OKLCHoklch(56% 0.149 266.5)
XYZxyz(19.3322, 16.9984, 58.7506)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6ECB #CBA94C
analogous
#4CAECB #4C6ECB #6A4CCB
triadic
#4C6ECB #CB4C6E #6ECB4C
tetradic
#4C6ECB #CB4CAE #CBA94C #4CCB6A
square
#4C6ECB #CB4CAE #CBA94C #4CCB6A
split-complementary
#4C6ECB #CB6A4C #AECB4C
monochromatic
#233A79 #3151A9 #4C6ECB #7B94D9 #ABBBE7

Accessibility & contrast

On white

4.77
#4C6ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4C6ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6ECB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6ECB#FFFFFF#000000##FFFFFF
##4C6ECB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4179CE
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c6ecb;
/* rgb */ color: rgb(76, 110, 203);
/* oklch */ color: oklch(56.0% 0.149 266.5);
Tailwind
colors: {
  custom: {
    50: '#8a97db',
    500: '#4c6ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4c6ecb;
$custom-light: #8a97db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6ecb",
  "rgb": {
    "r": 76,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 223.937,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55997,
    "c": 0.14892,
    "h": 266.5
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#4C6ECB
secondary
#D4C69F
accent
#B649DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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