#3740B8#3740B8

#3740B8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.186 H 272.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3740B8
RGBrgb(55, 64, 184)
HSLhsl(236, 54%, 47%)
HSVhsv(236, 70%, 72%)
CMYKcmyk(70.1%, 65.2%, 0%, 27.8%)
CIE-LABlab(33.85, 36.34, -64.37)
CIE-LCHlch(33.85, 73.92, 299.45°)
OKLaboklab(44.45% 0.009 -0.1859)
OKLCHoklch(44.45% 0.186 272.8)
XYZxyz(12.0578, 7.9385, 46.2349)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740B8 #B8AF37
analogous
#3781B8 #3740B8 #6F37B8
triadic
#3740B8 #B83740 #40B837
tetradic
#3740B8 #B83781 #B8AF37 #37B86F
square
#3740B8 #B83781 #B8AF37 #37B86F
split-complementary
#3740B8 #B86F37 #81B837
monochromatic
#1B1F5A #293089 #3740B8 #5D65CF #8D92DD

Accessibility & contrast

On white

8.11
#3740B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3740B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740B8
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740B8#FFFFFF#000000##FFFFFF
##3740B81.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3740b8;
/* rgb */ color: rgb(55, 64, 184);
/* oklch */ color: oklch(44.5% 0.186 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f75ce',
    500: '#3740b8',
    950: '#000000',
  },
}
SCSS
$custom: #3740b8;
$custom-light: #7f75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3740b8",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 235.814,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.18614,
    "h": 272.8
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#3740B8
secondary
#C7C384
accent
#D34ADD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3740B8

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

Preview Lab → · Contrast checker → · Palette generator →

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