#3542BF#3542BF

#3542BF is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.193 H 271.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3542BF
RGBrgb(53, 66, 191)
HSLhsl(234, 57%, 48%)
HSVhsv(234, 72%, 75%)
CMYKcmyk(72.3%, 65.4%, 0%, 25.1%)
CIE-LABlab(34.83, 37.31, -66.90)
CIE-LCHlch(34.83, 76.60, 299.15°)
OKLaboklab(45.32% 0.005 -0.1934)
OKLCHoklch(45.32% 0.193 271.5)
XYZxyz(12.8172, 8.4136, 50.2286)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3542BF #BFB235
analogous
#3587BF #3542BF #6D35BF
triadic
#3542BF #BF3542 #42BF35
tetradic
#3542BF #BF3587 #BFB235 #35BF6D
square
#3542BF #BF3587 #BFB235 #35BF6D
split-complementary
#3542BF #BF6D35 #87BF35
monochromatic
#1A215F #28318F #3542BF #5F6AD3 #8F96E0

Accessibility & contrast

On white

7.83
#3542BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3542BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3542BF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3542BF#FFFFFF#000000##FFFFFF
##3542BF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3542bf;
/* rgb */ color: rgb(53, 66, 191);
/* oklch */ color: oklch(45.3% 0.193 271.5);
Tailwind
colors: {
  custom: {
    50: '#8076d3',
    500: '#3542bf',
    950: '#000000',
  },
}
SCSS
$custom: #3542bf;
$custom-light: #8076d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3542bf",
  "rgb": {
    "r": 53,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 234.348,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.19342,
    "h": 271.5
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3542BF

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

Preview Lab → · Contrast checker → · Palette generator →

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