#4D628F#4D628F

#4D628F is a mid, moderate blue. Relative luminance 0.123; OKLCH L 49.9% C 0.077 H 264.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4D628F
RGBrgb(77, 98, 143)
HSLhsl(221, 30%, 43%)
HSVhsv(221, 46%, 56%)
CMYKcmyk(46.2%, 31.5%, 0%, 43.9%)
CIE-LABlab(41.68, 4.85, -27.28)
CIE-LCHlch(41.68, 27.71, 280.09°)
OKLaboklab(49.88% -0.0072 -0.0764)
OKLCHoklch(49.88% 0.077 264.6)
XYZxyz(12.3846, 12.2956, 27.7020)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D628F #8F7A4D
analogous
#4D838F #4D628F #594D8F
triadic
#4D628F #8F4D62 #628F4D
tetradic
#4D628F #8F4D83 #8F7A4D #4D8F59
square
#4D628F #8F4D83 #8F7A4D #4D8F59
split-complementary
#4D628F #8F594D #838F4D
monochromatic
#222B3F #384767 #4D628F #6A80AF #92A2C4

Accessibility & contrast

On white

6.07
#4D628F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4D628F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D628F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D628F#FFFFFF#000000##FFFFFF
##4D628F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526691
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#346B72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d628f;
/* rgb */ color: rgb(77, 98, 143);
/* oklch */ color: oklch(49.9% 0.077 264.6);
Tailwind
colors: {
  custom: {
    50: '#828eb0',
    500: '#4d628f',
    950: '#000000',
  },
}
SCSS
$custom: #4d628f;
$custom-light: #828eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d628f",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 220.909,
    "s": 30,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.07676,
    "h": 264.6
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#4D628F
secondary
#B1A387
accent
#A662C6
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4D628F

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

Preview Lab → · Contrast checker → · Palette generator →

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