#3640C3#3640C3

#3640C3 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.4% C 0.201 H 272.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3640C3
RGBrgb(54, 64, 195)
HSLhsl(236, 57%, 49%)
HSVhsv(236, 72%, 76%)
CMYKcmyk(72.3%, 67.2%, 0%, 23.5%)
CIE-LABlab(34.78, 40.05, -69.32)
CIE-LCHlch(34.78, 80.06, 300.02°)
OKLaboklab(45.41% 0.007 -0.2004)
OKLCHoklch(45.41% 0.201 272)
XYZxyz(13.2017, 8.3899, 52.5428)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640C3 #C3B936
analogous
#3687C3 #3640C3 #7336C3
triadic
#3640C3 #C33640 #40C336
tetradic
#3640C3 #C33687 #C3B936 #36C373
square
#3640C3 #C33687 #C3B936 #36C373
split-complementary
#3640C3 #C37336 #87C336
monochromatic
#1B2163 #293093 #3640C3 #636BD4 #9298E1

Accessibility & contrast

On white

7.84
#3640C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3640C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640C3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640C3#FFFFFF#000000##FFFFFF
##3640C31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3640c3;
/* rgb */ color: rgb(54, 64, 195);
/* oklch */ color: oklch(45.4% 0.201 272.0);
Tailwind
colors: {
  custom: {
    50: '#8175d6',
    500: '#3640c3',
    950: '#000000',
  },
}
SCSS
$custom: #3640c3;
$custom-light: #8175d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3640c3",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 235.745,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.20055,
    "h": 272
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3640C3

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

Preview Lab → · Contrast checker → · Palette generator →

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