#4D6BC4#4D6BC4

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

Color values

HEX#4D6BC4
RGBrgb(77, 107, 196)
HSLhsl(225, 50%, 54%)
HSVhsv(225, 61%, 77%)
CMYKcmyk(60.7%, 45.4%, 0%, 23.1%)
CIE-LABlab(47.08, 16.73, -49.90)
CIE-LCHlch(47.08, 52.63, 288.53°)
OKLaboklab(54.97% -0.0061 -0.1424)
OKLCHoklch(54.97% 0.143 267.6)
XYZxyz(18.2787, 16.0772, 54.3538)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6BC4 #C4A64D
analogous
#4DA6C4 #4D6BC4 #6A4DC4
triadic
#4D6BC4 #C44D6B #6BC44D
tetradic
#4D6BC4 #C44DA6 #C4A64D #4DC46A
square
#4D6BC4 #C44DA6 #C4A64D #4DC46A
split-complementary
#4D6BC4 #C46A4D #A6C44D
monochromatic
#253971 #35509F #4D6BC4 #7B91D3 #A9B7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D6BC4#FFFFFF#000000##FFFFFF
##4D6BC41.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)
#4175C7
Deuteranopia (green-blind)
#2F6BC2
Tritanopia (blue-blind)
#007F8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d6bc4;
/* rgb */ color: rgb(77, 107, 196);
/* oklch */ color: oklch(55.0% 0.143 267.6);
Tailwind
colors: {
  custom: {
    50: '#8994d6',
    500: '#4d6bc4',
    950: '#000000',
  },
}
SCSS
$custom: #4d6bc4;
$custom-light: #8994d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6bc4",
  "rgb": {
    "r": 77,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 224.874,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.14254,
    "h": 267.6
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#4D6BC4
secondary
#D0C39D
accent
#B74EDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4D6BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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