#3541C6#3541C6

#3541C6 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.8% C 0.203 H 271.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3541C6
RGBrgb(53, 65, 198)
HSLhsl(235, 58%, 49%)
HSVhsv(235, 73%, 78%)
CMYKcmyk(73.2%, 67.2%, 0%, 22.4%)
CIE-LABlab(35.23, 40.37, -70.34)
CIE-LCHlch(35.23, 81.10, 299.85°)
OKLaboklab(45.81% 0.005 -0.2034)
OKLCHoklch(45.81% 0.203 271.4)
XYZxyz(13.5481, 8.6133, 54.3637)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541C6 #C6BA35
analogous
#358AC6 #3541C6 #7135C6
triadic
#3541C6 #C63541 #41C635
tetradic
#3541C6 #C6358A #C6BA35 #35C671
square
#3541C6 #C6358A #C6BA35 #35C671
split-complementary
#3541C6 #C67135 #8AC635
monochromatic
#1B2165 #283196 #3541C6 #636CD5 #939AE2

Accessibility & contrast

On white

7.71
#3541C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3541C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541C6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541C6#FFFFFF#000000##FFFFFF
##3541C61.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3541c6;
/* rgb */ color: rgb(53, 65, 198);
/* oklch */ color: oklch(45.8% 0.203 271.4);
Tailwind
colors: {
  custom: {
    50: '#8176d8',
    500: '#3541c6',
    950: '#000000',
  },
}
SCSS
$custom: #3541c6;
$custom-light: #8176d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3541c6",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 235.034,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45807,
    "c": 0.20349,
    "h": 271.4
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#3541C6
secondary
#CDC88A
accent
#D447E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3541C6

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

Preview Lab → · Contrast checker → · Palette generator →

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