#3640C2#3640C2

#3640C2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.199 H 272.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3640C2
RGBrgb(54, 64, 194)
HSLhsl(236, 56%, 49%)
HSVhsv(236, 72%, 76%)
CMYKcmyk(72.2%, 67%, 0%, 23.9%)
CIE-LABlab(34.69, 39.71, -68.88)
CIE-LCHlch(34.69, 79.51, 299.96°)
OKLaboklab(45.32% 0.0071 -0.1991)
OKLCHoklch(45.32% 0.199 272)
XYZxyz(13.0890, 8.3448, 51.9494)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640C2 #C2B836
analogous
#3686C2 #3640C2 #7236C2
triadic
#3640C2 #C23640 #40C236
tetradic
#3640C2 #C23686 #C2B836 #36C272
square
#3640C2 #C23686 #C2B836 #36C272
split-complementary
#3640C2 #C27236 #86C236
monochromatic
#1B2062 #293092 #3640C2 #626AD3 #9297E1

Accessibility & contrast

On white

7.87
#3640C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3640C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640C2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640C2#FFFFFF#000000##FFFFFF
##3640C21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3640c2;
/* rgb */ color: rgb(54, 64, 194);
/* oklch */ color: oklch(45.3% 0.199 272.0);
Tailwind
colors: {
  custom: {
    50: '#8175d6',
    500: '#3640c2',
    950: '#000000',
  },
}
SCSS
$custom: #3640c2;
$custom-light: #8175d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3640c2",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 235.714,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.19928,
    "h": 272
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#3640C2
secondary
#CCC788
accent
#D548E0
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3640C2

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

Preview Lab → · Contrast checker → · Palette generator →

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