#4C45BD#4C45BD

#4C45BD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.182 H 279.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4C45BD
RGBrgb(76, 69, 189)
HSLhsl(244, 48%, 51%)
HSVhsv(244, 63%, 74%)
CMYKcmyk(59.8%, 63.5%, 0%, 25.9%)
CIE-LABlab(36.87, 38.00, -62.33)
CIE-LCHlch(36.87, 73.01, 301.37°)
OKLaboklab(47.15% 0.0298 -0.1794)
OKLCHoklch(47.15% 0.182 279.4)
XYZxyz(14.2910, 9.4658, 49.2083)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45BD #B6BD45
analogous
#457ABD #4C45BD #8845BD
triadic
#4C45BD #BD4C45 #45BD4C
tetradic
#4C45BD #BD457A #B6BD45 #45BD88
square
#4C45BD #BD457A #B6BD45 #45BD88
split-complementary
#4C45BD #BD8845 #7ABD45
monochromatic
#272464 #393491 #4C45BD #7772CD #A39FDD

Accessibility & contrast

On white

7.26
#4C45BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4C45BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C45BD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45BD#FFFFFF#000000##FFFFFF
##4C45BD1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c45bd;
/* rgb */ color: rgb(76, 69, 189);
/* oklch */ color: oklch(47.2% 0.182 279.4);
Tailwind
colors: {
  custom: {
    50: '#8a79d2',
    500: '#4c45bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c45bd;
$custom-light: #8a79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45bd",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 243.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47152,
    "c": 0.18181,
    "h": 279.4
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#4C45BD
secondary
#C6CA94
accent
#D751CF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4C45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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