#3640CA#3640CA

#3640CA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.1% C 0.209 H 271.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3640CA
RGBrgb(54, 64, 202)
HSLhsl(236, 58%, 50%)
HSVhsv(236, 73%, 79%)
CMYKcmyk(73.3%, 68.3%, 0%, 20.8%)
CIE-LABlab(35.43, 42.46, -72.34)
CIE-LCHlch(35.43, 83.88, 300.41°)
OKLaboklab(46.08% 0.0063 -0.2093)
OKLCHoklch(46.08% 0.209 271.7)
XYZxyz(14.0118, 8.7139, 56.8092)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640CA #CAC036
analogous
#368ACA #3640CA #7636CA
triadic
#3640CA #CA3640 #40CA36
tetradic
#3640CA #CA368A #CAC036 #36CA76
square
#3640CA #CA368A #CAC036 #36CA76
split-complementary
#3640CA #CA7636 #8ACA36
monochromatic
#1C216A #29309A #3640CA #666ED7 #979CE4

Accessibility & contrast

On white

7.66
#3640CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3640CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640CA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640CA#FFFFFF#000000##FFFFFF
##3640CA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#004CC7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3640ca;
/* rgb */ color: rgb(54, 64, 202);
/* oklch */ color: oklch(46.1% 0.209 271.7);
Tailwind
colors: {
  custom: {
    50: '#8375db',
    500: '#3640ca',
    950: '#000000',
  },
}
SCSS
$custom: #3640ca;
$custom-light: #8375db;
$custom-dark: #000000;
JSON
{
  "hex": "#3640ca",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 235.946,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46078,
    "c": 0.20935,
    "h": 271.7
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#3640CA
secondary
#CFCB8D
accent
#D746E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3640CA

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

Preview Lab → · Contrast checker → · Palette generator →

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