#3640BD#3640BD

#3640BD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.9% C 0.193 H 272.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3640BD
RGBrgb(54, 64, 189)
HSLhsl(236, 56%, 48%)
HSVhsv(236, 71%, 74%)
CMYKcmyk(71.4%, 66.1%, 0%, 25.9%)
CIE-LABlab(34.24, 37.97, -66.69)
CIE-LCHlch(34.24, 76.74, 299.66°)
OKLaboklab(44.85% 0.0075 -0.1927)
OKLCHoklch(44.85% 0.193 272.2)
XYZxyz(12.5369, 8.1239, 49.0416)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640BD #BDB336
analogous
#3683BD #3640BD #7036BD
triadic
#3640BD #BD3640 #40BD36
tetradic
#3640BD #BD3683 #BDB336 #36BD70
square
#3640BD #BD3683 #BDB336 #36BD70
split-complementary
#3640BD #BD7036 #83BD36
monochromatic
#1B205E #28308D #3640BD #5F67D1 #8F94DF

Accessibility & contrast

On white

8.00
#3640BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3640BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3640BD#FFFFFF#000000##FFFFFF
##3640BD1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3640bd;
/* rgb */ color: rgb(54, 64, 189);
/* oklch */ color: oklch(44.9% 0.193 272.2);
Tailwind
colors: {
  custom: {
    50: '#8075d2',
    500: '#3640bd',
    950: '#000000',
  },
}
SCSS
$custom: #3640bd;
$custom-light: #8075d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3640bd",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 235.556,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.19288,
    "h": 272.2
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#3640BD
secondary
#C9C485
accent
#D449DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3640BD

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

Preview Lab → · Contrast checker → · Palette generator →

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