#3541BE#3541BE

#3541BE is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.193 H 271.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3541BE
RGBrgb(53, 65, 190)
HSLhsl(235, 56%, 48%)
HSVhsv(235, 72%, 75%)
CMYKcmyk(72.1%, 65.8%, 0%, 25.5%)
CIE-LABlab(34.51, 37.58, -66.84)
CIE-LCHlch(34.51, 76.68, 299.35°)
OKLaboklab(45.06% 0.0057 -0.1932)
OKLCHoklch(45.06% 0.193 271.7)
XYZxyz(12.6496, 8.2539, 49.6317)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541BE #BEB235
analogous
#3585BE #3541BE #6E35BE
triadic
#3541BE #BE3541 #41BE35
tetradic
#3541BE #BE3585 #BEB235 #35BE6E
square
#3541BE #BE3585 #BEB235 #35BE6E
split-complementary
#3541BE #BE6E35 #85BE35
monochromatic
#1A205E #28318E #3541BE #5E68D2 #8E95DF

Accessibility & contrast

On white

7.92
#3541BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3541BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541BE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541BE#FFFFFF#000000##FFFFFF
##3541BE1.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)
#0058C2
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3541be;
/* rgb */ color: rgb(53, 65, 190);
/* oklch */ color: oklch(45.1% 0.193 271.7);
Tailwind
colors: {
  custom: {
    50: '#8076d3',
    500: '#3541be',
    950: '#000000',
  },
}
SCSS
$custom: #3541be;
$custom-light: #8076d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3541be",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 234.745,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4506,
    "c": 0.19328,
    "h": 271.7
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#3541BE
secondary
#CAC485
accent
#D248E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3541BE

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

Preview Lab → · Contrast checker → · Palette generator →

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