#4D628C#4D628C

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

Color values

HEX#4D628C
RGBrgb(77, 98, 140)
HSLhsl(220, 29%, 43%)
HSVhsv(220, 45%, 55%)
CMYKcmyk(45%, 30%, 0%, 45.1%)
CIE-LABlab(41.54, 3.92, -25.69)
CIE-LCHlch(41.54, 25.99, 278.68°)
OKLaboklab(49.73% -0.0081 -0.0718)
OKLCHoklch(49.73% 0.072 263.6)
XYZxyz(12.1604, 12.2059, 26.5211)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D628C #8C774D
analogous
#4D818C #4D628C #584D8C
triadic
#4D628C #8C4D62 #628C4D
tetradic
#4D628C #8C4D81 #8C774D #4D8C58
square
#4D628C #8C4D81 #8C774D #4D8C58
split-complementary
#4D628C #8C584D #818C4D
monochromatic
#222B3D #374665 #4D628C #6980AD #91A1C2

Accessibility & contrast

On white

6.10
#4D628C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D628C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D628C#FFFFFF#000000##FFFFFF
##4D628C1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658E
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#366B71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d628c;
/* rgb */ color: rgb(77, 98, 140);
/* oklch */ color: oklch(49.7% 0.072 263.6);
Tailwind
colors: {
  custom: {
    50: '#828ead',
    500: '#4d628c',
    950: '#000000',
  },
}
SCSS
$custom: #4d628c;
$custom-light: #828ead;
$custom-dark: #000000;
JSON
{
  "hex": "#4d628c",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 220,
    "s": 29.032,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49725,
    "c": 0.07229,
    "h": 263.6
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#4D628C
secondary
#AFA186
accent
#A462C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4D628C

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

Preview Lab → · Contrast checker → · Palette generator →

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