#3640B9#3640B9

#3640B9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.188 H 272.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3640B9
RGBrgb(54, 64, 185)
HSLhsl(235, 55%, 47%)
HSVhsv(235, 71%, 73%)
CMYKcmyk(70.8%, 65.4%, 0%, 27.5%)
CIE-LABlab(33.88, 36.57, -64.91)
CIE-LCHlch(33.88, 74.51, 299.40°)
OKLaboklab(44.49% 0.0078 -0.1875)
OKLCHoklch(44.49% 0.188 272.4)
XYZxyz(12.1087, 7.9527, 46.7864)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640B9 #B9AF36
analogous
#3682B9 #3640B9 #6E36B9
triadic
#3640B9 #B93640 #40B936
tetradic
#3640B9 #B93682 #B9AF36 #36B96E
square
#3640B9 #B93682 #B9AF36 #36B96E
split-complementary
#3640B9 #B96E36 #82B936
monochromatic
#1A1F5A #28308A #3640B9 #5D65D0 #8C92DD

Accessibility & contrast

On white

8.11
#3640B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3640B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3640B9#FFFFFF#000000##FFFFFF
##3640B91.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3640b9;
/* rgb */ color: rgb(54, 64, 185);
/* oklch */ color: oklch(44.5% 0.188 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f75cf',
    500: '#3640b9',
    950: '#000000',
  },
}
SCSS
$custom: #3640b9;
$custom-light: #7f75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3640b9",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 235.42,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.1877,
    "h": 272.4
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#3640B9
secondary
#C8C383
accent
#D34ADE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3640B9

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

Preview Lab → · Contrast checker → · Palette generator →

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