#3640AE#3640AE

#3640AE is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.173 H 272.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3640AE
RGBrgb(54, 64, 174)
HSLhsl(235, 53%, 45%)
HSVhsv(235, 69%, 68%)
CMYKcmyk(69%, 63.2%, 0%, 31.8%)
CIE-LABlab(32.93, 32.69, -59.95)
CIE-LCHlch(32.93, 68.28, 298.60°)
OKLaboklab(43.49% 0.0085 -0.173)
OKLCHoklch(43.49% 0.173 272.8)
XYZxyz(10.9921, 7.5060, 40.9057)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640AE #AEA436
analogous
#367CAE #3640AE #6836AE
triadic
#3640AE #AE3640 #40AE36
tetradic
#3640AE #AE367C #AEA436 #36AE68
square
#3640AE #AE367C #AEA436 #36AE68
split-complementary
#3640AE #AE6836 #7CAE36
monochromatic
#191E51 #282F7F #3640AE #5660CB #858CD9

Accessibility & contrast

On white

8.40
#3640AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3640AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640AE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640AE#FFFFFF#000000##FFFFFF
##3640AE1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3640ae;
/* rgb */ color: rgb(54, 64, 174);
/* oklch */ color: oklch(43.5% 0.173 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d75c7',
    500: '#3640ae',
    950: '#000000',
  },
}
SCSS
$custom: #3640ae;
$custom-light: #7d75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3640ae",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 235,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.17319,
    "h": 272.8
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#3640AE
secondary
#C3BD7D
accent
#D04CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3640AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3640AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva