#4C6ABA#4C6ABA

#4C6ABA is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.1% C 0.130 H 266.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C6ABA
RGBrgb(76, 106, 186)
HSLhsl(224, 44%, 51%)
HSVhsv(224, 59%, 73%)
CMYKcmyk(59.1%, 43%, 0%, 27.1%)
CIE-LABlab(46.16, 13.74, -45.59)
CIE-LCHlch(46.16, 47.61, 286.78°)
OKLaboklab(54.07% -0.0077 -0.1298)
OKLCHoklch(54.07% 0.13 266.6)
XYZxyz(16.9944, 15.3883, 48.5195)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6ABA #BA9C4C
analogous
#4CA1BA #4C6ABA #654CBA
triadic
#4C6ABA #BA4C6A #6ABA4C
tetradic
#4C6ABA #BA4CA1 #BA9C4C #4CBA65
square
#4C6ABA #BA4CA1 #BA9C4C #4CBA65
split-complementary
#4C6ABA #BA654C #A1BA4C
monochromatic
#273865 #385091 #4C6ABA #788FCB #A4B4DC

Accessibility & contrast

On white

5.15
#4C6ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4C6ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6ABA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6ABA#FFFFFF#000000##FFFFFF
##4C6ABA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BD
Deuteranopia (green-blind)
#3769B8
Tritanopia (blue-blind)
#007C89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c6aba;
/* rgb */ color: rgb(76, 106, 186);
/* oklch */ color: oklch(54.1% 0.130 266.6);
Tailwind
colors: {
  custom: {
    50: '#8794cf',
    500: '#4c6aba',
    950: '#000000',
  },
}
SCSS
$custom: #4c6aba;
$custom-light: #8794cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6aba",
  "rgb": {
    "r": 76,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 223.636,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.13,
    "h": 266.6
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#4C6ABA
secondary
#C9BC99
accent
#B154D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4C6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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