#3541CB#3541CB

#3541CB is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.3% C 0.210 H 271.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3541CB
RGBrgb(53, 65, 203)
HSLhsl(235, 59%, 50%)
HSVhsv(235, 74%, 80%)
CMYKcmyk(73.9%, 68%, 0%, 20.4%)
CIE-LABlab(35.69, 42.10, -72.49)
CIE-LCHlch(35.69, 83.83, 300.15°)
OKLaboklab(46.28% 0.0046 -0.2097)
OKLCHoklch(46.28% 0.21 271.2)
XYZxyz(14.1343, 8.8478, 57.4512)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541CB #CBBF35
analogous
#358CCB #3541CB #7435CB
triadic
#3541CB #CB3541 #41CB35
tetradic
#3541CB #CB358C #CBBF35 #35CB74
square
#3541CB #CB358C #CBBF35 #35CB74
split-complementary
#3541CB #CB7435 #8CCB35
monochromatic
#1B226A #28319B #3541CB #666FD8 #969DE4

Accessibility & contrast

On white

7.58
#3541CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3541CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541CB
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541CB#FFFFFF#000000##FFFFFF
##3541CB1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3541cb;
/* rgb */ color: rgb(53, 65, 203);
/* oklch */ color: oklch(46.3% 0.210 271.2);
Tailwind
colors: {
  custom: {
    50: '#8376dc',
    500: '#3541cb',
    950: '#000000',
  },
}
SCSS
$custom: #3541cb;
$custom-light: #8376dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3541cb",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 235.2,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46281,
    "c": 0.20978,
    "h": 271.2
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#3541CB
secondary
#CFCA8C
accent
#D646E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3541CB

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

Preview Lab → · Contrast checker → · Palette generator →

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