#4C45BB#4C45BB

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

Color values

HEX#4C45BB
RGBrgb(76, 69, 187)
HSLhsl(244, 46%, 50%)
HSVhsv(244, 63%, 73%)
CMYKcmyk(59.4%, 63.1%, 0%, 26.7%)
CIE-LABlab(36.71, 37.35, -61.42)
CIE-LCHlch(36.71, 71.89, 301.31°)
OKLaboklab(46.98% 0.0299 -0.1767)
OKLCHoklch(46.98% 0.179 279.6)
XYZxyz(14.0754, 9.3796, 48.0728)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45BB #B4BB45
analogous
#4579BB #4C45BB #8745BB
triadic
#4C45BB #BB4C45 #45BB4C
tetradic
#4C45BB #BB4579 #B4BB45 #45BB87
square
#4C45BB #BB4579 #B4BB45 #45BB87
split-complementary
#4C45BB #BB8745 #79BB45
monochromatic
#272462 #3A348F #4C45BB #7772CB #A29FDC

Accessibility & contrast

On white

7.30
#4C45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C45BB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45BB#FFFFFF#000000##FFFFFF
##4C45BB1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c45bb;
/* rgb */ color: rgb(76, 69, 187);
/* oklch */ color: oklch(47.0% 0.179 279.6);
Tailwind
colors: {
  custom: {
    50: '#8979d0',
    500: '#4c45bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c45bb;
$custom-light: #8979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45bb",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 243.559,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46984,
    "c": 0.17919,
    "h": 279.6
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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