#3740BA#3740BA

#3740BA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.189 H 272.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3740BA
RGBrgb(55, 64, 186)
HSLhsl(236, 54%, 47%)
HSVhsv(236, 70%, 73%)
CMYKcmyk(70.4%, 65.6%, 0%, 27.1%)
CIE-LABlab(34.03, 37.04, -65.26)
CIE-LCHlch(34.03, 75.04, 299.58°)
OKLaboklab(44.64% 0.0089 -0.1885)
OKLCHoklch(44.64% 0.189 272.7)
XYZxyz(12.2689, 8.0230, 47.3469)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740BA #BAB137
analogous
#3781BA #3740BA #7037BA
triadic
#3740BA #BA3740 #40BA37
tetradic
#3740BA #BA3781 #BAB137 #37BA70
square
#3740BA #BA3781 #BAB137 #37BA70
split-complementary
#3740BA #BA7037 #81BA37
monochromatic
#1B1F5C #29308B #3740BA #5F66D0 #8E93DE

Accessibility & contrast

On white

8.06
#3740BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3740BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740BA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740BA#FFFFFF#000000##FFFFFF
##3740BA1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3740ba;
/* rgb */ color: rgb(55, 64, 186);
/* oklch */ color: oklch(44.6% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#8075d0',
    500: '#3740ba',
    950: '#000000',
  },
}
SCSS
$custom: #3740ba;
$custom-light: #8075d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3740ba",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 235.878,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44635,
    "c": 0.18874,
    "h": 272.7
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#3740BA
secondary
#C8C385
accent
#D44ADE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3740BA

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

Preview Lab → · Contrast checker → · Palette generator →

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