#4541AB#4541AB

#4541AB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.164 H 279.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4541AB
RGBrgb(69, 65, 171)
HSLhsl(242, 45%, 46%)
HSVhsv(242, 62%, 67%)
CMYKcmyk(59.6%, 62%, 0%, 32.9%)
CIE-LABlab(33.95, 33.36, -56.45)
CIE-LCHlch(33.95, 65.57, 300.58°)
OKLaboklab(44.43% 0.0258 -0.1623)
OKLCHoklch(44.43% 0.164 279)
XYZxyz(11.6929, 7.9852, 39.4453)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4541AB #A7AB41
analogous
#4172AB #4541AB #7A41AB
triadic
#4541AB #AB4541 #41AB45
tetradic
#4541AB #AB4172 #A7AB41 #41AB7A
square
#4541AB #AB4172 #A7AB41 #41AB7A
split-complementary
#4541AB #AB7A41 #72AB41
monochromatic
#211F52 #33307F #4541AB #6865C4 #9491D5

Accessibility & contrast

On white

8.09
#4541AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4541AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4541AB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4541AB#FFFFFF#000000##FFFFFF
##4541AB1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4541ab;
/* rgb */ color: rgb(69, 65, 171);
/* oklch */ color: oklch(44.4% 0.164 279.0);
Tailwind
colors: {
  custom: {
    50: '#8376c5',
    500: '#4541ab',
    950: '#000000',
  },
}
SCSS
$custom: #4541ab;
$custom-light: #8376c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4541ab",
  "rgb": {
    "r": 69,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 242.264,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44433,
    "c": 0.16433,
    "h": 279
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#4541AB
secondary
#BEC187
accent
#D553D0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4541AB

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

Preview Lab → · Contrast checker → · Palette generator →

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