#4D6DAB#4D6DAB

#4D6DAB is a mid, moderate blue. Relative luminance 0.155; OKLCH L 53.9% C 0.105 H 262.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4D6DAB
RGBrgb(77, 109, 171)
HSLhsl(220, 38%, 49%)
HSVhsv(220, 55%, 67%)
CMYKcmyk(55%, 36.3%, 0%, 32.9%)
CIE-LABlab(46.25, 7.05, -36.70)
CIE-LCHlch(46.25, 37.37, 280.88°)
OKLaboklab(53.89% -0.0134 -0.1037)
OKLCHoklch(53.89% 0.105 262.7)
XYZxyz(15.8774, 15.4541, 40.6664)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6DAB #AB8B4D
analogous
#4D9CAB #4D6DAB #5C4DAB
triadic
#4D6DAB #AB4D6D #6DAB4D
tetradic
#4D6DAB #AB4D9C #AB8B4D #4DAB5C
square
#4D6DAB #AB4D9C #AB8B4D #4DAB5C
split-complementary
#4D6DAB #AB5C4D #9CAB4D
monochromatic
#273757 #3A5281 #4D6DAB #758EC1 #9FB1D4

Accessibility & contrast

On white

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

On black

4.09
#4D6DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D6DAB#FFFFFF#000000##FFFFFF
##4D6DAB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AE
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#177B84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d6dab;
/* rgb */ color: rgb(77, 109, 171);
/* oklch */ color: oklch(53.9% 0.105 262.7);
Tailwind
colors: {
  custom: {
    50: '#8596c4',
    500: '#4d6dab',
    950: '#000000',
  },
}
SCSS
$custom: #4d6dab;
$custom-light: #8596c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6dab",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 171
  },
  "hsl": {
    "h": 219.574,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.10459,
    "h": 262.7
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#4D6DAB
secondary
#C0B193
accent
#A65ACE
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4D6DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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