#3640B2#3640B2

#3640B2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.179 H 272.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3640B2
RGBrgb(54, 64, 178)
HSLhsl(235, 53%, 45%)
HSVhsv(235, 70%, 70%)
CMYKcmyk(69.7%, 64%, 0%, 30.2%)
CIE-LABlab(33.27, 34.11, -61.77)
CIE-LCHlch(33.27, 70.56, 298.91°)
OKLaboklab(43.85% 0.0083 -0.1783)
OKLCHoklch(43.85% 0.179 272.7)
XYZxyz(11.3879, 7.6643, 42.9901)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640B2 #B2A836
analogous
#367EB2 #3640B2 #6A36B2
triadic
#3640B2 #B23640 #40B236
tetradic
#3640B2 #B2367E #B2A836 #36B26A
square
#3640B2 #B2367E #B2A836 #36B26A
split-complementary
#3640B2 #B26A36 #7EB236
monochromatic
#1A1E54 #282F83 #3640B2 #5962CD #888EDB

Accessibility & contrast

On white

8.29
#3640B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3640B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640B2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640B2#FFFFFF#000000##FFFFFF
##3640B21.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3640b2;
/* rgb */ color: rgb(54, 64, 178);
/* oklch */ color: oklch(43.9% 0.179 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e75ca',
    500: '#3640b2',
    950: '#000000',
  },
}
SCSS
$custom: #3640b2;
$custom-light: #7e75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3640b2",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 235.161,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43851,
    "c": 0.17851,
    "h": 272.7
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#3640B2
secondary
#C5BF7F
accent
#D14BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3640B2

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

Preview Lab → · Contrast checker → · Palette generator →

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