#3640B5#3640B5

#3640B5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.182 H 272.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3640B5
RGBrgb(54, 64, 181)
HSLhsl(235, 54%, 46%)
HSVhsv(235, 70%, 71%)
CMYKcmyk(70.2%, 64.6%, 0%, 29%)
CIE-LABlab(33.53, 35.16, -63.12)
CIE-LCHlch(33.53, 72.26, 299.12°)
OKLaboklab(44.12% 0.0081 -0.1823)
OKLCHoklch(44.12% 0.182 272.6)
XYZxyz(11.6924, 7.7861, 44.5938)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640B5 #B5AB36
analogous
#367FB5 #3640B5 #6B36B5
triadic
#3640B5 #B53640 #40B536
tetradic
#3640B5 #B5367F #B5AB36 #36B56B
square
#3640B5 #B5367F #B5AB36 #36B56B
split-complementary
#3640B5 #B56B36 #7FB536
monochromatic
#1A1F57 #282F86 #3640B5 #5A63CE #8990DC

Accessibility & contrast

On white

8.21
#3640B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3640B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640B5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640B5#FFFFFF#000000##FFFFFF
##3640B51.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3640b5;
/* rgb */ color: rgb(54, 64, 181);
/* oklch */ color: oklch(44.1% 0.182 272.6);
Tailwind
colors: {
  custom: {
    50: '#7e75cc',
    500: '#3640b5',
    950: '#000000',
  },
}
SCSS
$custom: #3640b5;
$custom-light: #7e75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3640b5",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 235.276,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44121,
    "c": 0.18247,
    "h": 272.6
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#3640B5
secondary
#C6C181
accent
#D24ADD
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3640B5

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

Preview Lab → · Contrast checker → · Palette generator →

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