#3640C6#3640C6

#3640C6 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.7% C 0.204 H 271.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3640C6
RGBrgb(54, 64, 198)
HSLhsl(236, 57%, 49%)
HSVhsv(236, 73%, 78%)
CMYKcmyk(72.7%, 67.7%, 0%, 22.4%)
CIE-LABlab(35.06, 41.09, -70.62)
CIE-LCHlch(35.06, 81.70, 300.19°)
OKLaboklab(45.7% 0.0067 -0.2042)
OKLCHoklch(45.7% 0.204 271.9)
XYZxyz(13.5443, 8.5269, 54.3472)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640C6 #C6BC36
analogous
#3688C6 #3640C6 #7436C6
triadic
#3640C6 #C63640 #40C636
tetradic
#3640C6 #C63688 #C6BC36 #36C674
square
#3640C6 #C63688 #C6BC36 #36C674
split-complementary
#3640C6 #C67436 #88C636
monochromatic
#1C2166 #293096 #3640C6 #646CD5 #949AE2

Accessibility & contrast

On white

7.76
#3640C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3640C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640C6
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640C6#FFFFFF#000000##FFFFFF
##3640C61.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3640c6;
/* rgb */ color: rgb(54, 64, 198);
/* oklch */ color: oklch(45.7% 0.204 271.9);
Tailwind
colors: {
  custom: {
    50: '#8275d8',
    500: '#3640c6',
    950: '#000000',
  },
}
SCSS
$custom: #3640c6;
$custom-light: #8275d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3640c6",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 235.833,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.20434,
    "h": 271.9
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#3640C6
secondary
#CDC98B
accent
#D647E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3640C6

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

Preview Lab → · Contrast checker → · Palette generator →

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