#4D6DBB#4D6DBB

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

Color values

HEX#4D6DBB
RGBrgb(77, 109, 187)
HSLhsl(223, 45%, 52%)
HSVhsv(223, 59%, 73%)
CMYKcmyk(58.8%, 41.7%, 0%, 26.7%)
CIE-LABlab(47.11, 12.41, -44.66)
CIE-LCHlch(47.11, 46.35, 285.53°)
OKLaboklab(54.83% -0.0098 -0.127)
OKLCHoklch(54.83% 0.127 265.6)
XYZxyz(17.4958, 16.1015, 49.1900)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6DBB #BB9B4D
analogous
#4DA4BB #4D6DBB #644DBB
triadic
#4D6DBB #BB4D6D #6DBB4D
tetradic
#4D6DBB #BB4DA4 #BB9B4D #4DBB64
square
#4D6DBB #BB4DA4 #BB9B4D #4DBB64
split-complementary
#4D6DBB #BB644D #A4BB4D
monochromatic
#273A66 #385293 #4D6DBB #7991CC #A6B6DD

Accessibility & contrast

On white

4.98
#4D6DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4D6DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6DBB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6DBB#FFFFFF#000000##FFFFFF
##4D6DBB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.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: #4d6dbb;
/* rgb */ color: rgb(77, 109, 187);
/* oklch */ color: oklch(54.8% 0.127 265.6);
Tailwind
colors: {
  custom: {
    50: '#8896d0',
    500: '#4d6dbb',
    950: '#000000',
  },
}
SCSS
$custom: #4d6dbb;
$custom-light: #8896d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6dbb",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 187
  },
  "hsl": {
    "h": 222.545,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.12737,
    "h": 265.6
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#4D6DBB
secondary
#CABC9A
accent
#AF53D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4D6DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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