#4541C2#4541C2

#4541C2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.194 H 277.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4541C2
RGBrgb(69, 65, 194)
HSLhsl(242, 51%, 51%)
HSVhsv(242, 66%, 76%)
CMYKcmyk(64.4%, 66.5%, 0%, 23.9%)
CIE-LABlab(35.87, 40.99, -66.92)
CIE-LCHlch(35.87, 78.47, 301.49°)
OKLaboklab(46.42% 0.0238 -0.193)
OKLCHoklch(46.42% 0.194 277)
XYZxyz(14.0790, 8.9397, 52.0121)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4541C2 #BEC241
analogous
#417EC2 #4541C2 #8541C2
triadic
#4541C2 #C24541 #41C245
tetradic
#4541C2 #C2417E #BEC241 #41C285
square
#4541C2 #C2417E #BEC241 #41C285
split-complementary
#4541C2 #C28541 #7EC241
monochromatic
#232167 #333096 #4541C2 #726FD1 #A09EE0

Accessibility & contrast

On white

7.53
#4541C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4541C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4541C2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4541C2#FFFFFF#000000##FFFFFF
##4541C21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4541c2;
/* rgb */ color: rgb(69, 65, 194);
/* oklch */ color: oklch(46.4% 0.194 277.0);
Tailwind
colors: {
  custom: {
    50: '#8776d6',
    500: '#4541c2',
    950: '#000000',
  },
}
SCSS
$custom: #4541c2;
$custom-light: #8776d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4541c2",
  "rgb": {
    "r": 69,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 241.86,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46424,
    "c": 0.19447,
    "h": 277
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#4541C2
secondary
#CACC93
accent
#DB4DD6
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4541C2

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

Preview Lab → · Contrast checker → · Palette generator →

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