#4B45BE#4B45BE

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

Color values

HEX#4B45BE
RGBrgb(75, 69, 190)
HSLhsl(243, 48%, 51%)
HSVhsv(243, 64%, 75%)
CMYKcmyk(60.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(36.87, 38.17, -62.91)
CIE-LCHlch(36.87, 73.59, 301.24°)
OKLaboklab(47.16% 0.0284 -0.1811)
OKLCHoklch(47.16% 0.183 278.9)
XYZxyz(14.3211, 9.4687, 49.7782)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45BE #B8BE45
analogous
#457BBE #4B45BE #8745BE
triadic
#4B45BE #BE4B45 #45BE4B
tetradic
#4B45BE #BE457B #B8BE45 #45BE87
square
#4B45BE #BE457B #B8BE45 #45BE87
split-complementary
#4B45BE #BE8745 #7BBE45
monochromatic
#272365 #383393 #4B45BE #7772CE #A3A0DE

Accessibility & contrast

On white

7.26
#4B45BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4B45BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B45BE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45BE#FFFFFF#000000##FFFFFF
##4B45BE1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4b45be;
/* rgb */ color: rgb(75, 69, 190);
/* oklch */ color: oklch(47.2% 0.183 278.9);
Tailwind
colors: {
  custom: {
    50: '#8979d3',
    500: '#4b45be',
    950: '#000000',
  },
}
SCSS
$custom: #4b45be;
$custom-light: #8979d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45be",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 242.975,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.18331,
    "h": 278.9
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#4B45BE
secondary
#C8CA95
accent
#D850D1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4B45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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