#3642C5#3642C5

#3642C5 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 45.9% C 0.201 H 271.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3642C5
RGBrgb(54, 66, 197)
HSLhsl(235, 57%, 49%)
HSVhsv(235, 73%, 77%)
CMYKcmyk(72.6%, 66.5%, 0%, 22.7%)
CIE-LABlab(35.42, 39.52, -69.44)
CIE-LCHlch(35.42, 79.90, 299.65°)
OKLaboklab(45.93% 0.0056 -0.2008)
OKLCHoklch(45.93% 0.201 271.6)
XYZxyz(13.5442, 8.7105, 53.7800)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642C5 #C5B936
analogous
#368AC5 #3642C5 #7236C5
triadic
#3642C5 #C53642 #42C536
tetradic
#3642C5 #C5368A #C5B936 #36C572
square
#3642C5 #C5368A #C5B936 #36C572
split-complementary
#3642C5 #C57236 #8AC536
monochromatic
#1C2265 #293295 #3642C5 #646DD4 #949AE2

Accessibility & contrast

On white

7.66
#3642C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3642C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3642C5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3642C5#FFFFFF#000000##FFFFFF
##3642C51.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)
#005AC9
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3642c5;
/* rgb */ color: rgb(54, 66, 197);
/* oklch */ color: oklch(45.9% 0.201 271.6);
Tailwind
colors: {
  custom: {
    50: '#8277d8',
    500: '#3642c5',
    950: '#000000',
  },
}
SCSS
$custom: #3642c5;
$custom-light: #8277d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3642c5",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 234.965,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45934,
    "c": 0.20085,
    "h": 271.6
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#3642C5
secondary
#CDC78A
accent
#D348E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3642C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3642C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva