#4D4ABB#4D4ABB

#4D4ABB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.173 H 278.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4D4ABB
RGBrgb(77, 74, 187)
HSLhsl(242, 45%, 51%)
HSVhsv(242, 60%, 73%)
CMYKcmyk(58.8%, 60.4%, 0%, 26.7%)
CIE-LABlab(37.95, 34.46, -59.38)
CIE-LCHlch(37.95, 68.66, 300.13°)
OKLaboklab(47.92% 0.0265 -0.1706)
OKLCHoklch(47.92% 0.173 278.8)
XYZxyz(14.4761, 10.0622, 48.1834)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4ABB #B8BB4A
analogous
#4A7FBB #4D4ABB #854ABB
triadic
#4D4ABB #BB4D4A #4ABB4D
tetradic
#4D4ABB #BB4A7F #B8BB4A #4ABB85
square
#4D4ABB #BB4A7F #B8BB4A #4ABB85
split-complementary
#4D4ABB #BB854A #7FBB4A
monochromatic
#282665 #393791 #4D4ABB #7976CC #A4A3DC

Accessibility & contrast

On white

6.97
#4D4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4D4ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4ABB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4ABB#FFFFFF#000000##FFFFFF
##4D4ABB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4abb;
/* rgb */ color: rgb(77, 74, 187);
/* oklch */ color: oklch(47.9% 0.173 278.8);
Tailwind
colors: {
  custom: {
    50: '#897dd0',
    500: '#4d4abb',
    950: '#000000',
  },
}
SCSS
$custom: #4d4abb;
$custom-light: #897dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4abb",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 241.593,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.17269,
    "h": 278.8
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#4D4ABB
secondary
#C8C997
accent
#D553D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4D4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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