#3640AD#3640AD

#3640AD is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.172 H 272.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3640AD
RGBrgb(54, 64, 173)
HSLhsl(235, 52%, 45%)
HSVhsv(235, 69%, 68%)
CMYKcmyk(68.8%, 63%, 0%, 32.2%)
CIE-LABlab(32.85, 32.33, -59.49)
CIE-LCHlch(32.85, 67.71, 298.53°)
OKLaboklab(43.41% 0.0086 -0.1716)
OKLCHoklch(43.41% 0.172 272.9)
XYZxyz(10.8950, 7.4672, 40.3942)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640AD #ADA336
analogous
#367CAD #3640AD #6836AD
triadic
#3640AD #AD3640 #40AD36
tetradic
#3640AD #AD367C #ADA336 #36AD68
square
#3640AD #AD367C #ADA336 #36AD68
split-complementary
#3640AD #AD6836 #7CAD36
monochromatic
#191D50 #272F7E #3640AD #5660CA #858CD9

Accessibility & contrast

On white

8.42
#3640AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3640AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640AD
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640AD#FFFFFF#000000##FFFFFF
##3640AD1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3640ad;
/* rgb */ color: rgb(54, 64, 173);
/* oklch */ color: oklch(43.4% 0.172 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c75c6',
    500: '#3640ad',
    950: '#000000',
  },
}
SCSS
$custom: #3640ad;
$custom-light: #7c75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3640ad",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 234.958,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.17185,
    "h": 272.9
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3640AD

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

Preview Lab → · Contrast checker → · Palette generator →

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