#4541B7#4541B7

#4541B7 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.180 H 277.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4541B7
RGBrgb(69, 65, 183)
HSLhsl(242, 48%, 49%)
HSVhsv(242, 64%, 72%)
CMYKcmyk(62.3%, 64.5%, 0%, 28.2%)
CIE-LABlab(34.93, 37.35, -61.98)
CIE-LCHlch(34.93, 72.37, 301.07°)
OKLaboklab(45.45% 0.0249 -0.1785)
OKLCHoklch(45.45% 0.18 277.9)
XYZxyz(12.8890, 8.4637, 45.7450)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4541B7 #B3B741
analogous
#4178B7 #4541B7 #8041B7
triadic
#4541B7 #B74541 #41B745
tetradic
#4541B7 #B74178 #B3B741 #41B780
square
#4541B7 #B74178 #B3B741 #41B780
split-complementary
#4541B7 #B78041 #78B741
monochromatic
#23215D #34318A #4541B7 #6E6BCA #9A98DA

Accessibility & contrast

On white

7.80
#4541B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4541B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4541B7
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4541B7#FFFFFF#000000##FFFFFF
##4541B71.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4541b7;
/* rgb */ color: rgb(69, 65, 183);
/* oklch */ color: oklch(45.5% 0.180 277.9);
Tailwind
colors: {
  custom: {
    50: '#8576ce',
    500: '#4541b7',
    950: '#000000',
  },
}
SCSS
$custom: #4541b7;
$custom-light: #8576ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4541b7",
  "rgb": {
    "r": 69,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 242.034,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45453,
    "c": 0.18028,
    "h": 277.9
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#4541B7
secondary
#C4C68E
accent
#D751D3
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4541B7

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

Preview Lab → · Contrast checker → · Palette generator →

#4541B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva