#4541B5#4541B5

#4541B5 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.178 H 278.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4541B5
RGBrgb(69, 65, 181)
HSLhsl(242, 47%, 48%)
HSVhsv(242, 64%, 71%)
CMYKcmyk(61.9%, 64.1%, 0%, 29%)
CIE-LABlab(34.76, 36.69, -61.07)
CIE-LCHlch(34.76, 71.24, 301.00°)
OKLaboklab(45.28% 0.0251 -0.1759)
OKLCHoklch(45.28% 0.178 278.1)
XYZxyz(12.6824, 8.3810, 44.6565)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4541B5 #B1B541
analogous
#4177B5 #4541B5 #7F41B5
triadic
#4541B5 #B54541 #41B545
tetradic
#4541B5 #B54177 #B1B541 #41B57F
square
#4541B5 #B54177 #B1B541 #41B57F
split-complementary
#4541B5 #B57F41 #77B541
monochromatic
#23215B #343188 #4541B5 #6D6AC9 #9997DA

Accessibility & contrast

On white

7.85
#4541B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4541B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4541B5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4541B5#FFFFFF#000000##FFFFFF
##4541B51.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4541b5;
/* rgb */ color: rgb(69, 65, 181);
/* oklch */ color: oklch(45.3% 0.178 278.1);
Tailwind
colors: {
  custom: {
    50: '#8576cc',
    500: '#4541b5',
    950: '#000000',
  },
}
SCSS
$custom: #4541b5;
$custom-light: #8576cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4541b5",
  "rgb": {
    "r": 69,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 242.069,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.17765,
    "h": 278.1
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#4541B5
secondary
#C3C58C
accent
#D751D2
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4541B5

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

Preview Lab → · Contrast checker → · Palette generator →

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