#4C6FCB#4C6FCB

#4C6FCB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.2% C 0.148 H 266.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4C6FCB
RGBrgb(76, 111, 203)
HSLhsl(223, 55%, 55%)
HSVhsv(223, 63%, 80%)
CMYKcmyk(62.6%, 45.3%, 0%, 20.4%)
CIE-LABlab(48.53, 16.45, -51.60)
CIE-LCHlch(48.53, 54.16, 287.68°)
OKLaboklab(56.21% -0.01 -0.1473)
OKLCHoklch(56.21% 0.148 266.1)
XYZxyz(19.4407, 17.2154, 58.7867)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6FCB #CBA84C
analogous
#4CAECB #4C6FCB #694CCB
triadic
#4C6FCB #CB4C6F #6FCB4C
tetradic
#4C6FCB #CB4CAE #CBA84C #4CCB69
square
#4C6FCB #CB4CAE #CBA84C #4CCB69
split-complementary
#4C6FCB #CB694C #AECB4C
monochromatic
#233B79 #3152A9 #4C6FCB #7B95D9 #ABBBE7

Accessibility & contrast

On white

4.73
#4C6FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4C6FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6FCB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6FCB#FFFFFF#000000##FFFFFF
##4C6FCB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c6fcb;
/* rgb */ color: rgb(76, 111, 203);
/* oklch */ color: oklch(56.2% 0.148 266.1);
Tailwind
colors: {
  custom: {
    50: '#8a97db',
    500: '#4c6fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4c6fcb;
$custom-light: #8a97db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6fcb",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 223.465,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.14769,
    "h": 266.1
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#4C6FCB
secondary
#D4C59F
accent
#B549DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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