#4D45BF#4D45BF

#4D45BF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.184 H 279.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4D45BF
RGBrgb(77, 69, 191)
HSLhsl(244, 49%, 51%)
HSVhsv(244, 64%, 75%)
CMYKcmyk(59.7%, 63.9%, 0%, 25.1%)
CIE-LABlab(37.10, 38.82, -63.11)
CIE-LCHlch(37.10, 74.09, 301.59°)
OKLaboklab(47.4% 0.0309 -0.1816)
OKLCHoklch(47.4% 0.184 279.6)
XYZxyz(14.5897, 9.5946, 50.3632)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45BF #B7BF45
analogous
#457ABF #4D45BF #8A45BF
triadic
#4D45BF #BF4D45 #45BF4D
tetradic
#4D45BF #BF457A #B7BF45 #45BF8A
square
#4D45BF #BF457A #B7BF45 #45BF8A
split-complementary
#4D45BF #BF8A45 #7ABF45
monochromatic
#282366 #393394 #4D45BF #7973CF #A4A0DE

Accessibility & contrast

On white

7.19
#4D45BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4D45BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45BF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45BF#FFFFFF#000000##FFFFFF
##4D45BF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d45bf;
/* rgb */ color: rgb(77, 69, 191);
/* oklch */ color: oklch(47.4% 0.184 279.6);
Tailwind
colors: {
  custom: {
    50: '#8a79d3',
    500: '#4d45bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d45bf;
$custom-light: #8a79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45bf",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 243.934,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.18422,
    "h": 279.6
  },
  "luminance": 0.09596
}

Semantic roles & 50–950 ramp

primary
#4D45BF
secondary
#C7CB95
accent
#D84FCF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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