#3740B9#3740B9

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

Color values

HEX#3740B9
RGBrgb(55, 64, 185)
HSLhsl(236, 54%, 47%)
HSVhsv(236, 70%, 73%)
CMYKcmyk(70.3%, 65.4%, 0%, 27.5%)
CIE-LABlab(33.94, 36.69, -64.82)
CIE-LCHlch(33.94, 74.48, 299.52°)
OKLaboklab(44.54% 0.0089 -0.1872)
OKLCHoklch(44.54% 0.187 272.7)
XYZxyz(12.1630, 7.9806, 46.7890)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740B9 #B9B037
analogous
#3781B9 #3740B9 #6F37B9
triadic
#3740B9 #B93740 #40B937
tetradic
#3740B9 #B93781 #B9B037 #37B96F
square
#3740B9 #B93781 #B9B037 #37B96F
split-complementary
#3740B9 #B96F37 #81B937
monochromatic
#1B1F5B #29308A #3740B9 #5E66CF #8D93DD

Accessibility & contrast

On white

8.09
#3740B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3740B9
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740B9#FFFFFF#000000##FFFFFF
##3740B91.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3740b9;
/* rgb */ color: rgb(55, 64, 185);
/* oklch */ color: oklch(44.5% 0.187 272.7);
Tailwind
colors: {
  custom: {
    50: '#7f75cf',
    500: '#3740b9',
    950: '#000000',
  },
}
SCSS
$custom: #3740b9;
$custom-light: #7f75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3740b9",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 235.846,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.18744,
    "h": 272.7
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#3740B9
secondary
#C8C384
accent
#D34ADE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3740B9

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

Preview Lab → · Contrast checker → · Palette generator →

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