#4541B8#4541B8

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

Color values

HEX#4541B8
RGBrgb(69, 65, 184)
HSLhsl(242, 48%, 49%)
HSVhsv(242, 65%, 72%)
CMYKcmyk(62.5%, 64.7%, 0%, 27.8%)
CIE-LABlab(35.01, 37.68, -62.44)
CIE-LCHlch(35.01, 72.93, 301.11°)
OKLaboklab(45.54% 0.0248 -0.1799)
OKLCHoklch(45.54% 0.182 277.9)
XYZxyz(12.9935, 8.5055, 46.2951)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4541B8 #B4B841
analogous
#4179B8 #4541B8 #8141B8
triadic
#4541B8 #B84541 #41B845
tetradic
#4541B8 #B84179 #B4B841 #41B881
square
#4541B8 #B84179 #B4B841 #41B881
split-complementary
#4541B8 #B88141 #79B841
monochromatic
#23215E #34318B #4541B8 #6F6BCB #9B99DB

Accessibility & contrast

On white

7.77
#4541B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4541B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4541B8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4541B8#FFFFFF#000000##FFFFFF
##4541B81.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4541b8;
/* rgb */ color: rgb(69, 65, 184);
/* oklch */ color: oklch(45.5% 0.182 277.9);
Tailwind
colors: {
  custom: {
    50: '#8576ce',
    500: '#4541b8',
    950: '#000000',
  },
}
SCSS
$custom: #4541b8;
$custom-light: #8576ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4541b8",
  "rgb": {
    "r": 69,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 242.017,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4554,
    "c": 0.18159,
    "h": 277.9
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#4541B8
secondary
#C5C78E
accent
#D750D3
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4541B8

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

Preview Lab → · Contrast checker → · Palette generator →

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