#3640B7#3640B7

#3640B7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.185 H 272.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3640B7
RGBrgb(54, 64, 183)
HSLhsl(235, 54%, 46%)
HSVhsv(235, 70%, 72%)
CMYKcmyk(70.5%, 65%, 0%, 28.2%)
CIE-LABlab(33.71, 35.87, -64.02)
CIE-LCHlch(33.71, 73.38, 299.26°)
OKLaboklab(44.3% 0.008 -0.1849)
OKLCHoklch(44.3% 0.185 272.5)
XYZxyz(11.8991, 7.8688, 45.6823)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640B7 #B7AD36
analogous
#3681B7 #3640B7 #6D36B7
triadic
#3640B7 #B73640 #40B736
tetradic
#3640B7 #B73681 #B7AD36 #36B76D
square
#3640B7 #B73681 #B7AD36 #36B76D
split-complementary
#3640B7 #B76D36 #81B736
monochromatic
#1A1F58 #282F88 #3640B7 #5B64CF #8B91DD

Accessibility & contrast

On white

8.16
#3640B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3640B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3640B7#FFFFFF#000000##FFFFFF
##3640B71.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3640b7;
/* rgb */ color: rgb(54, 64, 183);
/* oklch */ color: oklch(44.3% 0.185 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f75ce',
    500: '#3640b7',
    950: '#000000',
  },
}
SCSS
$custom: #3640b7;
$custom-light: #7f75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3640b7",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 235.349,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.18509,
    "h": 272.5
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#3640B7
secondary
#C7C282
accent
#D24ADE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3640B7

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

Preview Lab → · Contrast checker → · Palette generator →

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