#3642AA#3642AA

#3642AA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.165 H 272.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3642AA
RGBrgb(54, 66, 170)
HSLhsl(234, 52%, 44%)
HSVhsv(234, 68%, 67%)
CMYKcmyk(68.2%, 61.2%, 0%, 33.3%)
CIE-LABlab(33.10, 29.97, -57.29)
CIE-LCHlch(33.10, 64.66, 297.62°)
OKLaboklab(43.51% 0.0071 -0.1652)
OKLCHoklch(43.51% 0.165 272.5)
XYZxyz(10.7228, 7.5820, 38.9208)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642AA #AA9E36
analogous
#367CAA #3642AA #6436AA
triadic
#3642AA #AA3642 #42AA36
tetradic
#3642AA #AA367C #AA9E36 #36AA64
square
#3642AA #AA367C #AA9E36 #36AA64
split-complementary
#3642AA #AA6436 #7CAA36
monochromatic
#181E4D #27307C #3642AA #5460C9 #838CD8

Accessibility & contrast

On white

8.34
#3642AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3642AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3642AA#FFFFFF#000000##FFFFFF
##3642AA1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3642aa;
/* rgb */ color: rgb(54, 66, 170);
/* oklch */ color: oklch(43.5% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c76c4',
    500: '#3642aa',
    950: '#000000',
  },
}
SCSS
$custom: #3642aa;
$custom-light: #7c76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3642aa",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 233.793,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.16532,
    "h": 272.5
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#3642AA
secondary
#C1BA7B
accent
#CC4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3642AA

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

Preview Lab → · Contrast checker → · Palette generator →

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