#4541A8#4541A8

#4541A8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.160 H 279.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4541A8
RGBrgb(69, 65, 168)
HSLhsl(242, 44%, 46%)
HSVhsv(242, 61%, 66%)
CMYKcmyk(58.9%, 61.3%, 0%, 34.1%)
CIE-LABlab(33.72, 32.36, -55.04)
CIE-LCHlch(33.72, 63.85, 300.46°)
OKLaboklab(44.19% 0.0259 -0.1582)
OKLCHoklch(44.19% 0.16 279.3)
XYZxyz(11.4102, 7.8722, 37.9564)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4541A8 #A4A841
analogous
#4170A8 #4541A8 #7841A8
triadic
#4541A8 #A84541 #41A845
tetradic
#4541A8 #A84170 #A4A841 #41A878
square
#4541A8 #A84170 #A4A841 #41A878
split-complementary
#4541A8 #A87841 #70A841
monochromatic
#211F50 #33307C #4541A8 #6763C3 #9290D4

Accessibility & contrast

On white

8.16
#4541A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4541A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4541A8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4541A8#FFFFFF#000000##FFFFFF
##4541A81.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#025A6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4541a8;
/* rgb */ color: rgb(69, 65, 168);
/* oklch */ color: oklch(44.2% 0.160 279.3);
Tailwind
colors: {
  custom: {
    50: '#8376c3',
    500: '#4541a8',
    950: '#000000',
  },
}
SCSS
$custom: #4541a8;
$custom-light: #8376c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4541a8",
  "rgb": {
    "r": 69,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 242.33,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.16027,
    "h": 279.3
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#4541A8
secondary
#BDBF86
accent
#D454CF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4541A8

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

Preview Lab → · Contrast checker → · Palette generator →

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