#3541BF#3541BF

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

Color values

HEX#3541BF
RGBrgb(53, 65, 191)
HSLhsl(235, 57%, 48%)
HSVhsv(235, 72%, 75%)
CMYKcmyk(72.3%, 66%, 0%, 25.1%)
CIE-LABlab(34.60, 37.93, -67.28)
CIE-LCHlch(34.60, 77.24, 299.41°)
OKLaboklab(45.15% 0.0056 -0.1945)
OKLCHoklch(45.15% 0.195 271.7)
XYZxyz(12.7593, 8.2978, 50.2093)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541BF #BFB335
analogous
#3586BF #3541BF #6E35BF
triadic
#3541BF #BF3541 #41BF35
tetradic
#3541BF #BF3586 #BFB335 #35BF6E
square
#3541BF #BF3586 #BFB335 #35BF6E
split-complementary
#3541BF #BF6E35 #86BF35
monochromatic
#1A205F #28318F #3541BF #5F69D3 #8F96E0

Accessibility & contrast

On white

7.90
#3541BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3541BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541BF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541BF#FFFFFF#000000##FFFFFF
##3541BF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3541bf;
/* rgb */ color: rgb(53, 65, 191);
/* oklch */ color: oklch(45.2% 0.195 271.7);
Tailwind
colors: {
  custom: {
    50: '#8076d3',
    500: '#3541bf',
    950: '#000000',
  },
}
SCSS
$custom: #3541bf;
$custom-light: #8076d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3541bf",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 234.783,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45153,
    "c": 0.19457,
    "h": 271.7
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3541BF

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

Preview Lab → · Contrast checker → · Palette generator →

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