#3651BC#3651BC

#3651BC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.171 H 268.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3651BC
RGBrgb(54, 81, 188)
HSLhsl(228, 55%, 47%)
HSVhsv(228, 71%, 74%)
CMYKcmyk(71.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(38.37, 26.75, -59.35)
CIE-LCHlch(38.37, 65.10, 294.26°)
OKLaboklab(47.88% -0.0047 -0.171)
OKLCHoklch(47.88% 0.171 268.4)
XYZxyz(13.5377, 10.2986, 48.8416)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3651BC #BCA136
analogous
#3694BC #3651BC #5E36BC
triadic
#3651BC #BC3651 #51BC36
tetradic
#3651BC #BC3694 #BCA136 #36BC5E
square
#3651BC #BC3694 #BCA136 #36BC5E
split-complementary
#3651BC #BC5E36 #94BC36
monochromatic
#1B285D #283D8C #3651BC #5E75D1 #8E9EDF

Accessibility & contrast

On white

6.86
#3651BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3651BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3651BC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3651BC#FFFFFF#000000##FFFFFF
##3651BC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3651bc;
/* rgb */ color: rgb(54, 81, 188);
/* oklch */ color: oklch(47.9% 0.171 268.4);
Tailwind
colors: {
  custom: {
    50: '#7e81d1',
    500: '#3651bc',
    950: '#000000',
  },
}
SCSS
$custom: #3651bc;
$custom-light: #7e81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3651bc",
  "rgb": {
    "r": 54,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 227.91,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.17112,
    "h": 268.4
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#3651BC
secondary
#C9BB85
accent
#C149DF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3651BC

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

Preview Lab → · Contrast checker → · Palette generator →

#3651BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva