#3640B6#3640B6

#3640B6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.184 H 272.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3640B6
RGBrgb(54, 64, 182)
HSLhsl(235, 54%, 46%)
HSVhsv(235, 70%, 71%)
CMYKcmyk(70.3%, 64.8%, 0%, 28.6%)
CIE-LABlab(33.62, 35.52, -63.57)
CIE-LCHlch(33.62, 72.82, 299.19°)
OKLaboklab(44.21% 0.0081 -0.1836)
OKLCHoklch(44.21% 0.184 272.5)
XYZxyz(11.7954, 7.8273, 45.1361)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640B6 #B6AC36
analogous
#3680B6 #3640B6 #6C36B6
triadic
#3640B6 #B63640 #40B636
tetradic
#3640B6 #B63680 #B6AC36 #36B66C
square
#3640B6 #B63680 #B6AC36 #36B66C
split-complementary
#3640B6 #B66C36 #80B636
monochromatic
#1A1F58 #282F87 #3640B6 #5B64CE #8A91DC

Accessibility & contrast

On white

8.19
#3640B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3640B6#FFFFFF#000000##FFFFFF
##3640B61.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3640b6;
/* rgb */ color: rgb(54, 64, 182);
/* oklch */ color: oklch(44.2% 0.184 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e75cd',
    500: '#3640b6',
    950: '#000000',
  },
}
SCSS
$custom: #3640b6;
$custom-light: #7e75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3640b6",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 235.313,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44212,
    "c": 0.18379,
    "h": 272.5
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#3640B6
secondary
#C6C181
accent
#D24ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3640B6

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

Preview Lab → · Contrast checker → · Palette generator →

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