#4D6BB7#4D6BB7

#4D6BB7 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.124 H 266.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4D6BB7
RGBrgb(77, 107, 183)
HSLhsl(223, 42%, 51%)
HSVhsv(223, 58%, 72%)
CMYKcmyk(57.9%, 41.5%, 0%, 28.2%)
CIE-LABlab(46.33, 12.31, -43.58)
CIE-LCHlch(46.33, 45.28, 285.77°)
OKLaboklab(54.15% -0.0084 -0.1238)
OKLCHoklch(54.15% 0.124 266.1)
XYZxyz(16.8626, 15.5107, 46.8958)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6BB7 #B7994D
analogous
#4DA0B7 #4D6BB7 #644DB7
triadic
#4D6BB7 #B74D6B #6BB74D
tetradic
#4D6BB7 #B74DA0 #B7994D #4DB764
square
#4D6BB7 #B74DA0 #B7994D #4DB764
split-complementary
#4D6BB7 #B7644D #A0B74D
monochromatic
#283862 #39518E #4D6BB7 #798FC9 #A4B3DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D6BB7#FFFFFF#000000##FFFFFF
##4D6BB71.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)
#4A73BA
Deuteranopia (green-blind)
#3C69B5
Tritanopia (blue-blind)
#007C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d6bb7;
/* rgb */ color: rgb(77, 107, 183);
/* oklch */ color: oklch(54.2% 0.124 266.1);
Tailwind
colors: {
  custom: {
    50: '#8795cd',
    500: '#4d6bb7',
    950: '#000000',
  },
}
SCSS
$custom: #4d6bb7;
$custom-light: #8795cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6bb7",
  "rgb": {
    "r": 77,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 223.019,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.12413,
    "h": 266.1
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#4D6BB7
secondary
#C7BA98
accent
#AF56D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4D6BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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