#4C6DB2#4C6DB2

#4C6DB2 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.2% C 0.115 H 263.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4C6DB2
RGBrgb(76, 109, 178)
HSLhsl(221, 40%, 50%)
HSVhsv(221, 57%, 70%)
CMYKcmyk(57.3%, 38.8%, 0%, 30.2%)
CIE-LABlab(46.56, 9.16, -40.30)
CIE-LCHlch(46.56, 41.33, 282.81°)
OKLaboklab(54.23% -0.0126 -0.1143)
OKLCHoklch(54.23% 0.115 263.7)
XYZxyz(16.4823, 15.6868, 44.2701)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6DB2 #B2914C
analogous
#4CA0B2 #4C6DB2 #5E4CB2
triadic
#4C6DB2 #B24C6D #6DB24C
tetradic
#4C6DB2 #B24CA0 #B2914C #4CB25E
square
#4C6DB2 #B24CA0 #B2914C #4CB25E
split-complementary
#4C6DB2 #B25E4C #A0B24C
monochromatic
#27385C #3A5387 #4C6DB2 #7690C5 #A1B3D7

Accessibility & contrast

On white

5.08
#4C6DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4C6DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6DB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6DB2#FFFFFF#000000##FFFFFF
##4C6DB21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4c6db2;
/* rgb */ color: rgb(76, 109, 178);
/* oklch */ color: oklch(54.2% 0.115 263.7);
Tailwind
colors: {
  custom: {
    50: '#8696c9',
    500: '#4c6db2',
    950: '#000000',
  },
}
SCSS
$custom: #4c6db2;
$custom-light: #8696c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6db2",
  "rgb": {
    "r": 76,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 220.588,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.11496,
    "h": 263.7
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#4C6DB2
secondary
#C4B596
accent
#A958D0
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4C6DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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