#4D628E#4D628E

#4D628E is a mid, moderate blue. Relative luminance 0.123; OKLCH L 49.8% C 0.075 H 264.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4D628E
RGBrgb(77, 98, 142)
HSLhsl(221, 30%, 43%)
HSVhsv(221, 46%, 56%)
CMYKcmyk(45.8%, 31%, 0%, 44.3%)
CIE-LABlab(41.63, 4.54, -26.75)
CIE-LCHlch(41.63, 27.13, 279.64°)
OKLaboklab(49.83% -0.0075 -0.0749)
OKLCHoklch(49.83% 0.075 264.3)
XYZxyz(12.3092, 12.2654, 27.3048)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D628E #8E794D
analogous
#4D828E #4D628E #584D8E
triadic
#4D628E #8E4D62 #628E4D
tetradic
#4D628E #8E4D82 #8E794D #4D8E58
square
#4D628E #8E4D82 #8E794D #4D8E58
split-complementary
#4D628E #8E584D #828E4D
monochromatic
#222B3F #374766 #4D628E #6A80AE #92A2C4

Accessibility & contrast

On white

6.08
#4D628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4D628E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D628E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D628E#FFFFFF#000000##FFFFFF
##4D628E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526590
Deuteranopia (green-blind)
#4B608D
Tritanopia (blue-blind)
#356B72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d628e;
/* rgb */ color: rgb(77, 98, 142);
/* oklch */ color: oklch(49.8% 0.075 264.3);
Tailwind
colors: {
  custom: {
    50: '#828eaf',
    500: '#4d628e',
    950: '#000000',
  },
}
SCSS
$custom: #4d628e;
$custom-light: #828eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d628e",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 220.615,
    "s": 29.68,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.07526,
    "h": 264.3
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D628E

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

Preview Lab → · Contrast checker → · Palette generator →

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