#3640C5#3640C5

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

Color values

HEX#3640C5
RGBrgb(54, 64, 197)
HSLhsl(236, 57%, 49%)
HSVhsv(236, 73%, 77%)
CMYKcmyk(72.6%, 67.5%, 0%, 22.7%)
CIE-LABlab(34.97, 40.74, -70.19)
CIE-LCHlch(34.97, 81.16, 300.14°)
OKLaboklab(45.6% 0.0068 -0.203)
OKLCHoklch(45.6% 0.203 271.9)
XYZxyz(13.4294, 8.4809, 53.7417)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640C5 #C5BB36
analogous
#3688C5 #3640C5 #7436C5
triadic
#3640C5 #C53640 #40C536
tetradic
#3640C5 #C53688 #C5BB36 #36C574
square
#3640C5 #C53688 #C5BB36 #36C574
split-complementary
#3640C5 #C57436 #88C536
monochromatic
#1C2165 #293095 #3640C5 #646CD4 #9499E2

Accessibility & contrast

On white

7.79
#3640C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3640C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640C5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640C5#FFFFFF#000000##FFFFFF
##3640C51.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3640c5;
/* rgb */ color: rgb(54, 64, 197);
/* oklch */ color: oklch(45.6% 0.203 271.9);
Tailwind
colors: {
  custom: {
    50: '#8275d8',
    500: '#3640c5',
    950: '#000000',
  },
}
SCSS
$custom: #3640c5;
$custom-light: #8275d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3640c5",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 235.804,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.20308,
    "h": 271.9
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#3640C5
secondary
#CDC88A
accent
#D648E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3640C5

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

Preview Lab → · Contrast checker → · Palette generator →

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