#3642A5#3642A5

#3642A5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.158 H 272.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3642A5
RGBrgb(54, 66, 165)
HSLhsl(234, 51%, 43%)
HSVhsv(234, 67%, 65%)
CMYKcmyk(67.3%, 60%, 0%, 35.3%)
CIE-LABlab(32.69, 28.18, -54.95)
CIE-LCHlch(32.69, 61.76, 297.15°)
OKLaboklab(43.09% 0.0072 -0.1583)
OKLCHoklch(43.09% 0.158 272.6)
XYZxyz(10.2588, 7.3964, 36.4770)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642A5 #A59936
analogous
#3679A5 #3642A5 #6236A5
triadic
#3642A5 #A53642 #42A536
tetradic
#3642A5 #A53679 #A59936 #36A562
square
#3642A5 #A53679 #A59936 #36A562
split-complementary
#3642A5 #A56236 #79A536
monochromatic
#181D49 #273077 #3642A5 #525EC6 #8089D5

Accessibility & contrast

On white

8.47
#3642A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3642A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3642A5
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3642A5#FFFFFF#000000##FFFFFF
##3642A51.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3642a5;
/* rgb */ color: rgb(54, 66, 165);
/* oklch */ color: oklch(43.1% 0.158 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b76c0',
    500: '#3642a5',
    950: '#000000',
  },
}
SCSS
$custom: #3642a5;
$custom-light: #7b76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3642a5",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 233.514,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.15846,
    "h": 272.6
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#3642A5
secondary
#BFB778
accent
#CB4EDA
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3642A5

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

Preview Lab → · Contrast checker → · Palette generator →

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