#4541B2#4541B2

#4541B2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.174 H 278.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4541B2
RGBrgb(69, 65, 178)
HSLhsl(242, 47%, 48%)
HSVhsv(242, 63%, 70%)
CMYKcmyk(61.2%, 63.5%, 0%, 30.2%)
CIE-LABlab(34.52, 35.69, -59.70)
CIE-LCHlch(34.52, 69.55, 300.88°)
OKLaboklab(45.02% 0.0253 -0.1718)
OKLCHoklch(45.02% 0.174 278.4)
XYZxyz(12.3778, 8.2592, 43.0528)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4541B2 #AEB241
analogous
#4175B2 #4541B2 #7E41B2
triadic
#4541B2 #B24541 #41B245
tetradic
#4541B2 #B24175 #AEB241 #41B27E
square
#4541B2 #B24175 #AEB241 #41B27E
split-complementary
#4541B2 #B27E41 #75B241
monochromatic
#222058 #343185 #4541B2 #6C68C8 #9795D8

Accessibility & contrast

On white

7.92
#4541B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4541B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4541B2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4541B2#FFFFFF#000000##FFFFFF
##4541B21.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4541b2;
/* rgb */ color: rgb(69, 65, 178);
/* oklch */ color: oklch(45.0% 0.174 278.4);
Tailwind
colors: {
  custom: {
    50: '#8476ca',
    500: '#4541b2',
    950: '#000000',
  },
}
SCSS
$custom: #4541b2;
$custom-light: #8476ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4541b2",
  "rgb": {
    "r": 69,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 242.124,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45023,
    "c": 0.1737,
    "h": 278.4
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#4541B2
secondary
#C2C48B
accent
#D652D1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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