#3751BA#3751BA

#3751BA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.168 H 268.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3751BA
RGBrgb(55, 81, 186)
HSLhsl(228, 54%, 47%)
HSVhsv(228, 70%, 73%)
CMYKcmyk(70.4%, 56.5%, 0%, 27.1%)
CIE-LABlab(38.27, 26.16, -58.34)
CIE-LCHlch(38.27, 63.94, 294.15°)
OKLaboklab(47.77% -0.0039 -0.1681)
OKLCHoklch(47.77% 0.168 268.7)
XYZxyz(13.3779, 10.2409, 47.7165)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3751BA #BAA037
analogous
#3792BA #3751BA #5F37BA
triadic
#3751BA #BA3751 #51BA37
tetradic
#3751BA #BA3792 #BAA037 #37BA5F
square
#3751BA #BA3792 #BAA037 #37BA5F
split-complementary
#3751BA #BA5F37 #92BA37
monochromatic
#1B285C #293C8B #3751BA #5F75D0 #8E9EDE

Accessibility & contrast

On white

6.89
#3751BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3751BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3751BA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3751BA#FFFFFF#000000##FFFFFF
##3751BA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3751ba;
/* rgb */ color: rgb(55, 81, 186);
/* oklch */ color: oklch(47.8% 0.168 268.7);
Tailwind
colors: {
  custom: {
    50: '#7e81cf',
    500: '#3751ba',
    950: '#000000',
  },
}
SCSS
$custom: #3751ba;
$custom-light: #7e81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3751ba",
  "rgb": {
    "r": 55,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 228.092,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47773,
    "c": 0.1681,
    "h": 268.7
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#3751BA
secondary
#C8BB85
accent
#C04ADE
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3751BA

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

Preview Lab → · Contrast checker → · Palette generator →

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