#3642C3#3642C3

#3642C3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.198 H 271.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3642C3
RGBrgb(54, 66, 195)
HSLhsl(235, 57%, 49%)
HSVhsv(235, 72%, 76%)
CMYKcmyk(72.3%, 66.2%, 0%, 23.5%)
CIE-LABlab(35.24, 38.82, -68.56)
CIE-LCHlch(35.24, 78.79, 299.52°)
OKLaboklab(45.75% 0.0058 -0.1982)
OKLCHoklch(45.75% 0.198 271.7)
XYZxyz(13.3165, 8.6195, 52.5811)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642C3 #C3B736
analogous
#3689C3 #3642C3 #7136C3
triadic
#3642C3 #C33642 #42C336
tetradic
#3642C3 #C33689 #C3B736 #36C371
square
#3642C3 #C33689 #C3B736 #36C371
split-complementary
#3642C3 #C37136 #89C336
monochromatic
#1B2263 #293293 #3642C3 #636CD4 #9299E1

Accessibility & contrast

On white

7.71
#3642C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3642C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3642C3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3642C3#FFFFFF#000000##FFFFFF
##3642C31.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3642c3;
/* rgb */ color: rgb(54, 66, 195);
/* oklch */ color: oklch(45.7% 0.198 271.7);
Tailwind
colors: {
  custom: {
    50: '#8176d6',
    500: '#3642c3',
    950: '#000000',
  },
}
SCSS
$custom: #3642c3;
$custom-light: #8176d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3642c3",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 234.894,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.1983,
    "h": 271.7
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#3642C3
secondary
#CCC689
accent
#D348E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3642C3

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

Preview Lab → · Contrast checker → · Palette generator →

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