#4B45BA#4B45BA

#4B45BA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.178 H 279.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4B45BA
RGBrgb(75, 69, 186)
HSLhsl(243, 46%, 50%)
HSVhsv(243, 63%, 73%)
CMYKcmyk(59.7%, 62.9%, 0%, 27.1%)
CIE-LABlab(36.55, 36.86, -61.09)
CIE-LCHlch(36.55, 71.35, 301.11°)
OKLaboklab(46.83% 0.0287 -0.1757)
OKLCHoklch(46.83% 0.178 279.3)
XYZxyz(13.8899, 9.2963, 47.5073)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45BA #B4BA45
analogous
#4579BA #4B45BA #8645BA
triadic
#4B45BA #BA4B45 #45BA4B
tetradic
#4B45BA #BA4579 #B4BA45 #45BA86
square
#4B45BA #BA4579 #B4BA45 #45BA86
split-complementary
#4B45BA #BA8645 #79BA45
monochromatic
#272461 #39348D #4B45BA #7672CB #A19EDB

Accessibility & contrast

On white

7.34
#4B45BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4B45BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B45BA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45BA#FFFFFF#000000##FFFFFF
##4B45BA1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b45ba;
/* rgb */ color: rgb(75, 69, 186);
/* oklch */ color: oklch(46.8% 0.178 279.3);
Tailwind
colors: {
  custom: {
    50: '#8979d0',
    500: '#4b45ba',
    950: '#000000',
  },
}
SCSS
$custom: #4b45ba;
$custom-light: #8979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45ba",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 243.077,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.17807,
    "h": 279.3
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B45BA

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

Preview Lab → · Contrast checker → · Palette generator →

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