#3642A2#3642A2

#3642A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.154 H 272.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3642A2
RGBrgb(54, 66, 162)
HSLhsl(233, 50%, 42%)
HSVhsv(233, 67%, 64%)
CMYKcmyk(66.7%, 59.3%, 0%, 36.5%)
CIE-LABlab(32.45, 27.10, -53.53)
CIE-LCHlch(32.45, 60.00, 296.85°)
OKLaboklab(42.84% 0.0072 -0.1541)
OKLCHoklch(42.84% 0.154 272.7)
XYZxyz(9.9889, 7.2884, 35.0558)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642A2 #A29636
analogous
#3678A2 #3642A2 #6036A2
triadic
#3642A2 #A23642 #42A236
tetradic
#3642A2 #A23678 #A29636 #36A260
square
#3642A2 #A23678 #A29636 #36A260
split-complementary
#3642A2 #A26036 #78A236
monochromatic
#171D46 #272F74 #3642A2 #505DC5 #7E88D4

Accessibility & contrast

On white

8.54
#3642A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3642A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3642A2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3642A2#FFFFFF#000000##FFFFFF
##3642A21.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3642a2;
/* rgb */ color: rgb(54, 66, 162);
/* oklch */ color: oklch(42.8% 0.154 272.7);
Tailwind
colors: {
  custom: {
    50: '#7a76be',
    500: '#3642a2',
    950: '#000000',
  },
}
SCSS
$custom: #3642a2;
$custom-light: #7a76be;
$custom-dark: #000000;
JSON
{
  "hex": "#3642a2",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 233.333,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.1543,
    "h": 272.7
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#3642A2
secondary
#BDB577
accent
#CA4EDA
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3642A2

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

Preview Lab → · Contrast checker → · Palette generator →

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