#3640A3#3640A3

#3640A3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.158 H 273.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3640A3
RGBrgb(54, 64, 163)
HSLhsl(234, 50%, 43%)
HSVhsv(234, 67%, 64%)
CMYKcmyk(66.9%, 60.7%, 0%, 36.1%)
CIE-LABlab(32.02, 28.77, -54.84)
CIE-LCHlch(32.02, 61.93, 297.68°)
OKLaboklab(42.54% 0.0089 -0.158)
OKLCHoklch(42.54% 0.158 273.2)
XYZxyz(9.9634, 7.0945, 35.4875)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640A3 #A39936
analogous
#3677A3 #3640A3 #6236A3
triadic
#3640A3 #A33640 #40A336
tetradic
#3640A3 #A33677 #A39936 #36A362
square
#3640A3 #A33677 #A39936 #36A362
split-complementary
#3640A3 #A36236 #77A336
monochromatic
#181C47 #272E75 #3640A3 #515CC5 #7F87D5

Accessibility & contrast

On white

8.68
#3640A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3640A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640A3
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640A3#FFFFFF#000000##FFFFFF
##3640A31.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3640a3;
/* rgb */ color: rgb(54, 64, 163);
/* oklch */ color: oklch(42.5% 0.158 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a74bf',
    500: '#3640a3',
    950: '#000000',
  },
}
SCSS
$custom: #3640a3;
$custom-light: #7a74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3640a3",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 234.495,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.15825,
    "h": 273.2
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#3640A3
secondary
#BEB777
accent
#CD4EDA
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3640A3

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

Preview Lab → · Contrast checker → · Palette generator →

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