#3651BB#3651BB

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

Color values

HEX#3651BB
RGBrgb(54, 81, 187)
HSLhsl(228, 55%, 47%)
HSVhsv(228, 71%, 73%)
CMYKcmyk(71.1%, 56.7%, 0%, 26.7%)
CIE-LABlab(38.30, 26.39, -58.89)
CIE-LCHlch(38.30, 64.53, 294.14°)
OKLaboklab(47.8% -0.0048 -0.1697)
OKLCHoklch(47.8% 0.17 268.4)
XYZxyz(13.4303, 10.2556, 48.2758)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3651BB #BBA036
analogous
#3693BB #3651BB #5E36BB
triadic
#3651BB #BB3651 #51BB36
tetradic
#3651BB #BB3693 #BBA036 #36BB5E
square
#3651BB #BB3693 #BBA036 #36BB5E
split-complementary
#3651BB #BB5E36 #93BB36
monochromatic
#1B285C #283C8C #3651BB #5E75D0 #8D9EDE

Accessibility & contrast

On white

6.88
#3651BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3651BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3651BB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3651BB#FFFFFF#000000##FFFFFF
##3651BB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3651bb;
/* rgb */ color: rgb(54, 81, 187);
/* oklch */ color: oklch(47.8% 0.170 268.4);
Tailwind
colors: {
  custom: {
    50: '#7e81d0',
    500: '#3651bb',
    950: '#000000',
  },
}
SCSS
$custom: #3651bb;
$custom-light: #7e81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3651bb",
  "rgb": {
    "r": 54,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 227.82,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.16976,
    "h": 268.4
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#3651BB
secondary
#C9BB84
accent
#C049DF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3651BB

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

Preview Lab → · Contrast checker → · Palette generator →

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