#4C6DBB#4C6DBB

#4C6DBB is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.8% C 0.128 H 265.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4C6DBB
RGBrgb(76, 109, 187)
HSLhsl(222, 45%, 52%)
HSVhsv(222, 59%, 73%)
CMYKcmyk(59.4%, 41.7%, 0%, 26.7%)
CIE-LABlab(47.05, 12.21, -44.75)
CIE-LCHlch(47.05, 46.38, 285.26°)
OKLaboklab(54.77% -0.0107 -0.1273)
OKLCHoklch(54.77% 0.128 265.2)
XYZxyz(17.4157, 16.0602, 49.1862)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6DBB #BB9A4C
analogous
#4CA5BB #4C6DBB #634CBB
triadic
#4C6DBB #BB4C6D #6DBB4C
tetradic
#4C6DBB #BB4CA5 #BB9A4C #4CBB63
square
#4C6DBB #BB4CA5 #BB9A4C #4CBB63
split-complementary
#4C6DBB #BB634C #A5BB4C
monochromatic
#273966 #385392 #4C6DBB #7891CC #A5B5DD

Accessibility & contrast

On white

4.99
#4C6DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4C6DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6DBB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6DBB#FFFFFF#000000##FFFFFF
##4C6DBB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c6dbb;
/* rgb */ color: rgb(76, 109, 187);
/* oklch */ color: oklch(54.8% 0.128 265.2);
Tailwind
colors: {
  custom: {
    50: '#8796d0',
    500: '#4c6dbb',
    950: '#000000',
  },
}
SCSS
$custom: #4c6dbb;
$custom-light: #8796d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6dbb",
  "rgb": {
    "r": 76,
    "g": 109,
    "b": 187
  },
  "hsl": {
    "h": 222.162,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.12772,
    "h": 265.2
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#4C6DBB
secondary
#CABB99
accent
#AE53D5
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4C6DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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