#4D42BB#4D42BB

#4D42BB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.183 H 280.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4D42BB
RGBrgb(77, 66, 187)
HSLhsl(245, 48%, 50%)
HSVhsv(245, 65%, 73%)
CMYKcmyk(58.8%, 64.7%, 0%, 26.7%)
CIE-LABlab(36.10, 39.33, -62.40)
CIE-LCHlch(36.10, 73.76, 302.22°)
OKLaboklab(46.56% 0.0339 -0.1795)
OKLCHoklch(46.56% 0.183 280.7)
XYZxyz(13.9756, 9.0611, 48.0166)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D42BB #B0BB42
analogous
#4273BB #4D42BB #8A42BB
triadic
#4D42BB #BB4D42 #42BB4D
tetradic
#4D42BB #BB4273 #B0BB42 #42BB8A
square
#4D42BB #BB4273 #B0BB42 #42BB8A
split-complementary
#4D42BB #BB8A42 #73BB42
monochromatic
#282261 #3A328E #4D42BB #776ECC #A19CDC

Accessibility & contrast

On white

7.47
#4D42BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4D42BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D42BB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D42BB#FFFFFF#000000##FFFFFF
##4D42BB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#016078
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d42bb;
/* rgb */ color: rgb(77, 66, 187);
/* oklch */ color: oklch(46.6% 0.183 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a77d0',
    500: '#4d42bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d42bb;
$custom-light: #8a77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d42bb",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 245.455,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46564,
    "c": 0.18271,
    "h": 280.7
  },
  "luminance": 0.09062
}

Semantic roles & 50–950 ramp

primary
#4D42BB
secondary
#C3C891
accent
#D750CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4D42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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