#3642AC#3642AC

#3642AC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.168 H 272.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3642AC
RGBrgb(54, 66, 172)
HSLhsl(234, 52%, 44%)
HSVhsv(234, 69%, 67%)
CMYKcmyk(68.6%, 61.6%, 0%, 32.5%)
CIE-LABlab(33.26, 30.69, -58.22)
CIE-LCHlch(33.26, 65.81, 297.80°)
OKLaboklab(43.69% 0.0071 -0.1679)
OKLCHoklch(43.69% 0.168 272.4)
XYZxyz(10.9134, 7.6582, 39.9248)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3642AC #ACA036
analogous
#367DAC #3642AC #6536AC
triadic
#3642AC #AC3642 #42AC36
tetradic
#3642AC #AC367D #ACA036 #36AC65
square
#3642AC #AC367D #ACA036 #36AC65
split-complementary
#3642AC #AC6536 #7DAC36
monochromatic
#191E4F #27307D #3642AC #5561CA #848DD8

Accessibility & contrast

On white

8.29
#3642AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3642AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3642AC#FFFFFF#000000##FFFFFF
##3642AC1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3642ac;
/* rgb */ color: rgb(54, 66, 172);
/* oklch */ color: oklch(43.7% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c76c6',
    500: '#3642ac',
    950: '#000000',
  },
}
SCSS
$custom: #3642ac;
$custom-light: #7c76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3642ac",
  "rgb": {
    "r": 54,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 233.898,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.16804,
    "h": 272.4
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#3642AC
secondary
#C2BB7C
accent
#CD4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3642AC

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

Preview Lab → · Contrast checker → · Palette generator →

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