#4D628D#4D628D

#4D628D is a mid, moderate blue. Relative luminance 0.122; OKLCH L 49.8% C 0.074 H 264.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4D628D
RGBrgb(77, 98, 141)
HSLhsl(220, 29%, 43%)
HSVhsv(220, 45%, 55%)
CMYKcmyk(45.4%, 30.5%, 0%, 44.7%)
CIE-LABlab(41.59, 4.23, -26.22)
CIE-LCHlch(41.59, 26.56, 279.17°)
OKLaboklab(49.78% -0.0078 -0.0734)
OKLCHoklch(49.78% 0.074 264)
XYZxyz(12.2344, 12.2355, 26.9112)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D628D #8D784D
analogous
#4D828D #4D628D #584D8D
triadic
#4D628D #8D4D62 #628D4D
tetradic
#4D628D #8D4D82 #8D784D #4D8D58
square
#4D628D #8D4D82 #8D784D #4D8D58
split-complementary
#4D628D #8D584D #828D4D
monochromatic
#222B3E #374665 #4D628D #6A80AD #91A2C3

Accessibility & contrast

On white

6.09
#4D628D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D628D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D628D#FFFFFF#000000##FFFFFF
##4D628D1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658F
Deuteranopia (green-blind)
#4C5F8C
Tritanopia (blue-blind)
#356B71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d628d;
/* rgb */ color: rgb(77, 98, 141);
/* oklch */ color: oklch(49.8% 0.074 264.0);
Tailwind
colors: {
  custom: {
    50: '#828eae',
    500: '#4d628d',
    950: '#000000',
  },
}
SCSS
$custom: #4d628d;
$custom-light: #828eae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d628d",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 141
  },
  "hsl": {
    "h": 220.313,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49777,
    "c": 0.07378,
    "h": 264
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#4D628D
secondary
#AFA286
accent
#A562C6
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4D628D

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

Preview Lab → · Contrast checker → · Palette generator →

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