#3541C1#3541C1

#3541C1 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.197 H 271.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3541C1
RGBrgb(53, 65, 193)
HSLhsl(235, 57%, 48%)
HSVhsv(235, 73%, 76%)
CMYKcmyk(72.5%, 66.3%, 0%, 24.3%)
CIE-LABlab(34.77, 38.63, -68.16)
CIE-LCHlch(34.77, 78.35, 299.54°)
OKLaboklab(45.34% 0.0055 -0.1971)
OKLCHoklch(45.34% 0.197 271.6)
XYZxyz(12.9809, 8.3864, 51.3764)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541C1 #C1B535
analogous
#3587C1 #3541C1 #6F35C1
triadic
#3541C1 #C13541 #41C135
tetradic
#3541C1 #C13587 #C1B535 #35C16F
square
#3541C1 #C13587 #C1B535 #35C16F
split-complementary
#3541C1 #C16F35 #87C135
monochromatic
#1B2161 #283191 #3541C1 #606AD3 #9097E0

Accessibility & contrast

On white

7.84
#3541C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3541C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541C1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541C1#FFFFFF#000000##FFFFFF
##3541C11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3541c1;
/* rgb */ color: rgb(53, 65, 193);
/* oklch */ color: oklch(45.3% 0.197 271.6);
Tailwind
colors: {
  custom: {
    50: '#8076d5',
    500: '#3541c1',
    950: '#000000',
  },
}
SCSS
$custom: #3541c1;
$custom-light: #8076d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3541c1",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 234.857,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45339,
    "c": 0.19714,
    "h": 271.6
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#3541C1
secondary
#CBC587
accent
#D348E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3541C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3541C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva