#4D6ABA#4D6ABA

#4D6ABA is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.1% C 0.130 H 267.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D6ABA
RGBrgb(77, 106, 186)
HSLhsl(224, 44%, 52%)
HSVhsv(224, 59%, 73%)
CMYKcmyk(58.6%, 43%, 0%, 27.1%)
CIE-LABlab(46.22, 13.95, -45.50)
CIE-LCHlch(46.22, 47.59, 287.04°)
OKLaboklab(54.12% -0.0067 -0.1295)
OKLCHoklch(54.12% 0.13 267)
XYZxyz(17.0745, 15.4296, 48.5233)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6ABA #BA9D4D
analogous
#4DA1BA #4D6ABA #674DBA
triadic
#4D6ABA #BA4D6A #6ABA4D
tetradic
#4D6ABA #BA4DA1 #BA9D4D #4DBA67
square
#4D6ABA #BA4DA1 #BA9D4D #4DBA67
split-complementary
#4D6ABA #BA674D #A1BA4D
monochromatic
#273865 #385091 #4D6ABA #798FCB #A5B4DC

Accessibility & contrast

On white

5.14
#4D6ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D6ABA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6ABA#FFFFFF#000000##FFFFFF
##4D6ABA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BD
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#007C89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d6aba;
/* rgb */ color: rgb(77, 106, 186);
/* oklch */ color: oklch(54.1% 0.130 267.0);
Tailwind
colors: {
  custom: {
    50: '#8894cf',
    500: '#4d6aba',
    950: '#000000',
  },
}
SCSS
$custom: #4d6aba;
$custom-light: #8894cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6aba",
  "rgb": {
    "r": 77,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 224.037,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.12965,
    "h": 267
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#4D6ABA
secondary
#C9BD99
accent
#B254D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4D6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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