#4B45BF#4B45BF

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

Color values

HEX#4B45BF
RGBrgb(75, 69, 191)
HSLhsl(243, 49%, 51%)
HSVhsv(243, 64%, 75%)
CMYKcmyk(60.7%, 63.9%, 0%, 25.1%)
CIE-LABlab(36.95, 38.49, -63.37)
CIE-LCHlch(36.95, 74.14, 301.28°)
OKLaboklab(47.25% 0.0283 -0.1824)
OKLCHoklch(47.25% 0.185 278.8)
XYZxyz(14.4307, 9.5126, 50.3558)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45BF #B9BF45
analogous
#457CBF #4B45BF #8845BF
triadic
#4B45BF #BF4B45 #45BF4B
tetradic
#4B45BF #BF457C #B9BF45 #45BF88
square
#4B45BF #BF457C #B9BF45 #45BF88
split-complementary
#4B45BF #BF8845 #7CBF45
monochromatic
#272366 #383394 #4B45BF #7773CF #A3A0DE

Accessibility & contrast

On white

7.23
#4B45BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4B45BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B45BF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45BF#FFFFFF#000000##FFFFFF
##4B45BF1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4b45bf;
/* rgb */ color: rgb(75, 69, 191);
/* oklch */ color: oklch(47.2% 0.185 278.8);
Tailwind
colors: {
  custom: {
    50: '#8979d3',
    500: '#4b45bf',
    950: '#000000',
  },
}
SCSS
$custom: #4b45bf;
$custom-light: #8979d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45bf",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 242.951,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.18461,
    "h": 278.8
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#4B45BF
secondary
#C8CB95
accent
#D84FD2
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4B45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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