#4D628B#4D628B

#4D628B is a mid, moderate blue. Relative luminance 0.122; OKLCH L 49.7% C 0.071 H 263.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4D628B
RGBrgb(77, 98, 139)
HSLhsl(220, 29%, 42%)
HSVhsv(220, 45%, 55%)
CMYKcmyk(44.6%, 29.5%, 0%, 45.5%)
CIE-LABlab(41.50, 3.61, -25.16)
CIE-LCHlch(41.50, 25.42, 278.17°)
OKLaboklab(49.67% -0.0084 -0.0703)
OKLCHoklch(49.67% 0.071 263.2)
XYZxyz(12.0870, 12.1765, 26.1345)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D628B #8B764D
analogous
#4D818B #4D628B #574D8B
triadic
#4D628B #8B4D62 #628B4D
tetradic
#4D628B #8B4D81 #8B764D #4D8B57
square
#4D628B #8B4D81 #8B764D #4D8B57
split-complementary
#4D628B #8B574D #818B4D
monochromatic
#212A3C #374664 #4D628B #6980AC #91A1C2

Accessibility & contrast

On white

6.11
#4D628B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4D628B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D628B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D628B#FFFFFF#000000##FFFFFF
##4D628B1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658D
Deuteranopia (green-blind)
#4D5F8A
Tritanopia (blue-blind)
#376B70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d628b;
/* rgb */ color: rgb(77, 98, 139);
/* oklch */ color: oklch(49.7% 0.071 263.2);
Tailwind
colors: {
  custom: {
    50: '#828ead',
    500: '#4d628b',
    950: '#000000',
  },
}
SCSS
$custom: #4d628b;
$custom-light: #828ead;
$custom-dark: #000000;
JSON
{
  "hex": "#4d628b",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 219.677,
    "s": 28.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.07082,
    "h": 263.2
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#4D628B
secondary
#AEA086
accent
#A463C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4D628B

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

Preview Lab → · Contrast checker → · Palette generator →

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