#4C6ABC#4C6ABC

#4C6ABC is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.133 H 266.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C6ABC
RGBrgb(76, 106, 188)
HSLhsl(224, 46%, 52%)
HSVhsv(224, 60%, 74%)
CMYKcmyk(59.6%, 43.6%, 0%, 26.3%)
CIE-LABlab(46.28, 14.43, -46.56)
CIE-LCHlch(46.28, 48.75, 287.21°)
OKLaboklab(54.19% -0.0073 -0.1326)
OKLCHoklch(54.19% 0.133 266.8)
XYZxyz(17.2085, 15.4740, 49.6471)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6ABC #BC9E4C
analogous
#4CA2BC #4C6ABC #664CBC
triadic
#4C6ABC #BC4C6A #6ABC4C
tetradic
#4C6ABC #BC4CA2 #BC9E4C #4CBC66
square
#4C6ABC #BC4CA2 #BC9E4C #4CBC66
split-complementary
#4C6ABC #BC664C #A2BC4C
monochromatic
#273867 #375094 #4C6ABC #798FCD #A5B4DD

Accessibility & contrast

On white

5.13
#4C6ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4C6ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6ABC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6ABC#FFFFFF#000000##FFFFFF
##4C6ABC1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4c6abc;
/* rgb */ color: rgb(76, 106, 188);
/* oklch */ color: oklch(54.2% 0.133 266.8);
Tailwind
colors: {
  custom: {
    50: '#8794d0',
    500: '#4c6abc',
    950: '#000000',
  },
}
SCSS
$custom: #4c6abc;
$custom-light: #8794d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6abc",
  "rgb": {
    "r": 76,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 223.929,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.13283,
    "h": 266.8
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#4C6ABC
secondary
#CABD99
accent
#B253D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4C6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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