#4B45BB#4B45BB

#4B45BB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.179 H 279.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4B45BB
RGBrgb(75, 69, 187)
HSLhsl(243, 46%, 50%)
HSVhsv(243, 63%, 73%)
CMYKcmyk(59.9%, 63.1%, 0%, 26.7%)
CIE-LABlab(36.63, 37.19, -61.55)
CIE-LCHlch(36.63, 71.91, 301.14°)
OKLaboklab(46.91% 0.0287 -0.1771)
OKLCHoklch(46.91% 0.179 279.2)
XYZxyz(13.9966, 9.3389, 48.0691)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45BB #B5BB45
analogous
#457ABB #4B45BB #8645BB
triadic
#4B45BB #BB4B45 #45BB4B
tetradic
#4B45BB #BB457A #B5BB45 #45BB86
square
#4B45BB #BB457A #B5BB45 #45BB86
split-complementary
#4B45BB #BB8645 #7ABB45
monochromatic
#272462 #39348F #4B45BB #7672CB #A29FDC

Accessibility & contrast

On white

7.32
#4B45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4B45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B45BB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45BB#FFFFFF#000000##FFFFFF
##4B45BB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b45bb;
/* rgb */ color: rgb(75, 69, 187);
/* oklch */ color: oklch(46.9% 0.179 279.2);
Tailwind
colors: {
  custom: {
    50: '#8979d0',
    500: '#4b45bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b45bb;
$custom-light: #8979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45bb",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 243.051,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46909,
    "c": 0.17938,
    "h": 279.2
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#4B45BB
secondary
#C6C894
accent
#D652CF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4B45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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