#3640AA#3640AA

#3640AA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.168 H 273.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3640AA
RGBrgb(54, 64, 170)
HSLhsl(235, 52%, 44%)
HSVhsv(235, 68%, 67%)
CMYKcmyk(68.2%, 62.4%, 0%, 33.3%)
CIE-LABlab(32.60, 31.27, -58.11)
CIE-LCHlch(32.60, 65.98, 298.28°)
OKLaboklab(43.14% 0.0087 -0.1676)
OKLCHoklch(43.14% 0.168 273)
XYZxyz(10.6080, 7.3524, 38.8825)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640AA #AAA036
analogous
#367AAA #3640AA #6636AA
triadic
#3640AA #AA3640 #40AA36
tetradic
#3640AA #AA367A #AAA036 #36AA66
square
#3640AA #AA367A #AAA036 #36AA66
split-complementary
#3640AA #AA6636 #7AAA36
monochromatic
#181D4D #272F7C #3640AA #545EC9 #838AD8

Accessibility & contrast

On white

8.50
#3640AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3640AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3640AA#FFFFFF#000000##FFFFFF
##3640AA1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3640aa;
/* rgb */ color: rgb(54, 64, 170);
/* oklch */ color: oklch(43.1% 0.168 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c75c4',
    500: '#3640aa',
    950: '#000000',
  },
}
SCSS
$custom: #3640aa;
$custom-light: #7c75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3640aa",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 234.828,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.16781,
    "h": 273
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#3640AA
secondary
#C1BB7B
accent
#CF4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3640AA

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

Preview Lab → · Contrast checker → · Palette generator →

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