#4D6CB2#4D6CB2

#4D6CB2 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.1% C 0.116 H 264.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4D6CB2
RGBrgb(77, 108, 178)
HSLhsl(222, 40%, 50%)
HSVhsv(222, 57%, 70%)
CMYKcmyk(56.7%, 39.3%, 0%, 30.2%)
CIE-LABlab(46.33, 10.00, -40.66)
CIE-LCHlch(46.33, 41.87, 283.82°)
OKLaboklab(54.07% -0.0105 -0.1153)
OKLCHoklch(54.07% 0.116 264.8)
XYZxyz(16.4563, 15.5160, 44.2385)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6CB2 #B2934D
analogous
#4D9FB2 #4D6CB2 #604DB2
triadic
#4D6CB2 #B24D6C #6CB24D
tetradic
#4D6CB2 #B24D9F #B2934D #4DB260
square
#4D6CB2 #B24D9F #B2934D #4DB260
split-complementary
#4D6CB2 #B2604D #9FB24D
monochromatic
#28385D #3B5287 #4D6CB2 #788FC4 #A2B3D7

Accessibility & contrast

On white

5.12
#4D6CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D6CB2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6CB2#FFFFFF#000000##FFFFFF
##4D6CB21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#077B86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d6cb2;
/* rgb */ color: rgb(77, 108, 178);
/* oklch */ color: oklch(54.1% 0.116 264.8);
Tailwind
colors: {
  custom: {
    50: '#8695c9',
    500: '#4d6cb2',
    950: '#000000',
  },
}
SCSS
$custom: #4d6cb2;
$custom-light: #8695c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6cb2",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 221.584,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.11577,
    "h": 264.8
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#4D6CB2
secondary
#C4B697
accent
#AB58CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4D6CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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