#4D45BB#4D45BB

#4D45BB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.1% C 0.179 H 280.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4D45BB
RGBrgb(77, 69, 187)
HSLhsl(244, 46%, 50%)
HSVhsv(244, 63%, 73%)
CMYKcmyk(58.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(36.78, 37.52, -61.29)
CIE-LCHlch(36.78, 71.87, 301.47°)
OKLaboklab(47.06% 0.0312 -0.1763)
OKLCHoklch(47.06% 0.179 280)
XYZxyz(14.1555, 9.4209, 48.0766)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45BB #B3BB45
analogous
#4578BB #4D45BB #8845BB
triadic
#4D45BB #BB4D45 #45BB4D
tetradic
#4D45BB #BB4578 #B3BB45 #45BB88
square
#4D45BB #BB4578 #B3BB45 #45BB88
split-complementary
#4D45BB #BB8845 #78BB45
monochromatic
#282462 #3A348F #4D45BB #7872CB #A39FDC

Accessibility & contrast

On white

7.28
#4D45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4D45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45BB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45BB#FFFFFF#000000##FFFFFF
##4D45BB1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d45bb;
/* rgb */ color: rgb(77, 69, 187);
/* oklch */ color: oklch(47.1% 0.179 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a79d0',
    500: '#4d45bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d45bb;
$custom-light: #8a79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45bb",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 244.068,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.17901,
    "h": 280
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#4D45BB
secondary
#C5C894
accent
#D652CD
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4D45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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