#3541B4#3541B4

#3541B4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.180 H 272.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3541B4
RGBrgb(53, 65, 180)
HSLhsl(234, 55%, 46%)
HSVhsv(234, 71%, 71%)
CMYKcmyk(70.6%, 63.9%, 0%, 29.4%)
CIE-LABlab(33.63, 34.05, -62.38)
CIE-LCHlch(33.63, 71.06, 298.63°)
OKLaboklab(44.15% 0.0064 -0.1801)
OKLCHoklch(44.15% 0.18 272)
XYZxyz(11.5939, 7.8316, 44.0718)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541B4 #B4A835
analogous
#3580B4 #3541B4 #6935B4
triadic
#3541B4 #B43541 #41B435
tetradic
#3541B4 #B43580 #B4A835 #35B469
square
#3541B4 #B43580 #B4A835 #35B469
split-complementary
#3541B4 #B46935 #80B435
monochromatic
#191F55 #273085 #3541B4 #5863CE #8890DC

Accessibility & contrast

On white

8.18
#3541B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3541B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541B4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541B4#FFFFFF#000000##FFFFFF
##3541B41.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3541b4;
/* rgb */ color: rgb(53, 65, 180);
/* oklch */ color: oklch(44.1% 0.180 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d75cb',
    500: '#3541b4',
    950: '#000000',
  },
}
SCSS
$custom: #3541b4;
$custom-light: #7d75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3541b4",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 234.331,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.18023,
    "h": 272
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#3541B4
secondary
#C6BF7F
accent
#D04ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3541B4

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

Preview Lab → · Contrast checker → · Palette generator →

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