#3751BB#3751BB

#3751BB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.169 H 268.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3751BB
RGBrgb(55, 81, 187)
HSLhsl(228, 55%, 47%)
HSVhsv(228, 71%, 73%)
CMYKcmyk(70.6%, 56.7%, 0%, 26.7%)
CIE-LABlab(38.35, 26.52, -58.81)
CIE-LCHlch(38.35, 64.51, 294.28°)
OKLaboklab(47.85% -0.0038 -0.1694)
OKLCHoklch(47.85% 0.169 268.7)
XYZxyz(13.4845, 10.2836, 48.2784)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3751BB #BBA137
analogous
#3793BB #3751BB #5F37BB
triadic
#3751BB #BB3751 #51BB37
tetradic
#3751BB #BB3793 #BBA137 #37BB5F
square
#3751BB #BB3793 #BBA137 #37BB5F
split-complementary
#3751BB #BB5F37 #93BB37
monochromatic
#1B285C #293D8C #3751BB #5F75D0 #8E9EDE

Accessibility & contrast

On white

6.87
#3751BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3751BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3751BB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3751BB#FFFFFF#000000##FFFFFF
##3751BB1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3751bb;
/* rgb */ color: rgb(55, 81, 187);
/* oklch */ color: oklch(47.9% 0.169 268.7);
Tailwind
colors: {
  custom: {
    50: '#7f81d0',
    500: '#3751bb',
    950: '#000000',
  },
}
SCSS
$custom: #3751bb;
$custom-light: #7f81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3751bb",
  "rgb": {
    "r": 55,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 228.182,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47853,
    "c": 0.16946,
    "h": 268.7
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#3751BB
secondary
#C9BB85
accent
#C14ADE
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3751BB

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

Preview Lab → · Contrast checker → · Palette generator →

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