#4B45B2#4B45B2

#4B45B2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.167 H 280.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4B45B2
RGBrgb(75, 69, 178)
HSLhsl(243, 44%, 48%)
HSVhsv(243, 61%, 70%)
CMYKcmyk(57.9%, 61.2%, 0%, 30.2%)
CIE-LABlab(35.92, 34.25, -57.39)
CIE-LCHlch(35.92, 66.84, 300.82°)
OKLaboklab(46.17% 0.0292 -0.1649)
OKLCHoklch(46.17% 0.167 280)
XYZxyz(13.0631, 8.9656, 43.1530)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45B2 #ACB245
analogous
#4575B2 #4B45B2 #8145B2
triadic
#4B45B2 #B24B45 #45B24B
tetradic
#4B45B2 #B24575 #ACB245 #45B281
square
#4B45B2 #B24575 #ACB245 #45B281
split-complementary
#4B45B2 #B28145 #75B245
monochromatic
#26235A #383486 #4B45B2 #726EC7 #9D9AD8

Accessibility & contrast

On white

7.52
#4B45B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4B45B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B45B2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45B2#FFFFFF#000000##FFFFFF
##4B45B21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#0D5F75
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4b45b2;
/* rgb */ color: rgb(75, 69, 178);
/* oklch */ color: oklch(46.2% 0.167 280.0);
Tailwind
colors: {
  custom: {
    50: '#8779ca',
    500: '#4b45b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b45b2;
$custom-light: #8779ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45b2",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 243.303,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.16744,
    "h": 280
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#4B45B2
secondary
#C1C48F
accent
#D454CD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4B45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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