#3640BF#3640BF

#3640BF is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.195 H 272.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3640BF
RGBrgb(54, 64, 191)
HSLhsl(236, 56%, 48%)
HSVhsv(236, 72%, 75%)
CMYKcmyk(71.7%, 66.5%, 0%, 25.1%)
CIE-LABlab(34.42, 38.67, -67.57)
CIE-LCHlch(34.42, 77.85, 299.78°)
OKLaboklab(45.04% 0.0074 -0.1953)
OKLCHoklch(45.04% 0.195 272.2)
XYZxyz(12.7555, 8.2114, 50.1928)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640BF #BFB536
analogous
#3685BF #3640BF #7036BF
triadic
#3640BF #BF3640 #40BF36
tetradic
#3640BF #BF3685 #BFB536 #36BF70
square
#3640BF #BF3685 #BFB536 #36BF70
split-complementary
#3640BF #BF7036 #85BF36
monochromatic
#1B2060 #29308F #3640BF #6068D2 #9096E0

Accessibility & contrast

On white

7.95
#3640BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3640BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3640BF#FFFFFF#000000##FFFFFF
##3640BF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3640bf;
/* rgb */ color: rgb(54, 64, 191);
/* oklch */ color: oklch(45.0% 0.195 272.2);
Tailwind
colors: {
  custom: {
    50: '#8075d3',
    500: '#3640bf',
    950: '#000000',
  },
}
SCSS
$custom: #3640bf;
$custom-light: #8075d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3640bf",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 235.62,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4504,
    "c": 0.19545,
    "h": 272.2
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3640BF

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

Preview Lab → · Contrast checker → · Palette generator →

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