#3642AF#3642AF

#3642AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.172 H 272.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3642AF
RGBrgb(54, 66, 175)
HSLhsl(234, 53%, 45%)
HSVhsv(234, 69%, 69%)
CMYKcmyk(69.1%, 62.3%, 0%, 31.4%)
CIE-LABlab(33.51, 31.76, -59.60)
CIE-LCHlch(33.51, 67.54, 298.05°)
OKLaboklab(43.95% 0.007 -0.1719)
OKLCHoklch(43.95% 0.172 272.3)
XYZxyz(11.2048, 7.7748, 41.4593)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642AF #AFA336
analogous
#367EAF #3642AF #6736AF
triadic
#3642AF #AF3642 #42AF36
tetradic
#3642AF #AF367E #AFA336 #36AF67
square
#3642AF #AF367E #AFA336 #36AF67
split-complementary
#3642AF #AF6736 #7EAF36
monochromatic
#191F51 #283080 #3642AF #5763CB #868EDA

Accessibility & contrast

On white

8.22
#3642AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3642AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3642AF#FFFFFF#000000##FFFFFF
##3642AF1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3642af;
/* rgb */ color: rgb(54, 66, 175);
/* oklch */ color: oklch(43.9% 0.172 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d76c8',
    500: '#3642af',
    950: '#000000',
  },
}
SCSS
$custom: #3642af;
$custom-light: #7d76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3642af",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 234.05,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43945,
    "c": 0.17209,
    "h": 272.3
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#3642AF
secondary
#C3BC7D
accent
#CE4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3642AF

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

Preview Lab → · Contrast checker → · Palette generator →

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