#3541C8#3541C8

#3541C8 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.0% C 0.206 H 271.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3541C8
RGBrgb(53, 65, 200)
HSLhsl(235, 58%, 50%)
HSVhsv(235, 74%, 78%)
CMYKcmyk(73.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(35.41, 41.06, -71.20)
CIE-LCHlch(35.41, 82.20, 299.97°)
OKLaboklab(46% 0.0049 -0.206)
OKLCHoklch(46% 0.206 271.3)
XYZxyz(13.7803, 8.7062, 55.5866)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3541C8 #C8BC35
analogous
#358BC8 #3541C8 #7335C8
triadic
#3541C8 #C83541 #41C835
tetradic
#3541C8 #C8358B #C8BC35 #35C873
square
#3541C8 #C8358B #C8BC35 #35C873
split-complementary
#3541C8 #C87335 #8BC835
monochromatic
#1B2267 #283198 #3541C8 #646ED6 #959BE3

Accessibility & contrast

On white

7.66
#3541C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3541C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3541C8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3541C8#FFFFFF#000000##FFFFFF
##3541C81.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3541c8;
/* rgb */ color: rgb(53, 65, 200);
/* oklch */ color: oklch(46.0% 0.206 271.3);
Tailwind
colors: {
  custom: {
    50: '#8276da',
    500: '#3541c8',
    950: '#000000',
  },
}
SCSS
$custom: #3541c8;
$custom-light: #8276da;
$custom-dark: #000000;
JSON
{
  "hex": "#3541c8",
  "rgb": {
    "r": 53,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 235.102,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.20602,
    "h": 271.3
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#3541C8
secondary
#CEC98B
accent
#D546E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3541C8

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

Preview Lab → · Contrast checker → · Palette generator →

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