#3541C0#3541C0

#3541C0 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.196 H 271.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3541C0
RGBrgb(53, 65, 192)
HSLhsl(235, 57%, 48%)
HSVhsv(235, 72%, 75%)
CMYKcmyk(72.4%, 66.1%, 0%, 24.7%)
CIE-LABlab(34.69, 38.28, -67.72)
CIE-LCHlch(34.69, 77.79, 299.48°)
OKLaboklab(45.25% 0.0056 -0.1958)
OKLCHoklch(45.25% 0.196 271.6)
XYZxyz(12.8697, 8.3419, 50.7909)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541C0 #C0B435
analogous
#3586C0 #3541C0 #6E35C0
triadic
#3541C0 #C03541 #41C035
tetradic
#3541C0 #C03586 #C0B435 #35C06E
square
#3541C0 #C03586 #C0B435 #35C06E
split-complementary
#3541C0 #C06E35 #86C035
monochromatic
#1B2160 #283190 #3541C0 #5F69D3 #8F96E0

Accessibility & contrast

On white

7.87
#3541C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3541C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541C0
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541C0#FFFFFF#000000##FFFFFF
##3541C01.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3541c0;
/* rgb */ color: rgb(53, 65, 192);
/* oklch */ color: oklch(45.2% 0.196 271.6);
Tailwind
colors: {
  custom: {
    50: '#8076d4',
    500: '#3541c0',
    950: '#000000',
  },
}
SCSS
$custom: #3541c0;
$custom-light: #8076d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3541c0",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 234.82,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.19586,
    "h": 271.6
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3541C0

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

Preview Lab → · Contrast checker → · Palette generator →

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