#3740B4#3740B4

#3740B4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.181 H 272.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3740B4
RGBrgb(55, 64, 180)
HSLhsl(236, 53%, 46%)
HSVhsv(236, 69%, 71%)
CMYKcmyk(69.4%, 64.4%, 0%, 29.4%)
CIE-LABlab(33.51, 34.94, -62.57)
CIE-LCHlch(33.51, 71.67, 299.18°)
OKLaboklab(44.09% 0.0093 -0.1807)
OKLCHoklch(44.09% 0.181 272.9)
XYZxyz(11.6444, 7.7732, 44.0579)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740B4 #B4AB37
analogous
#377EB4 #3740B4 #6C37B4
triadic
#3740B4 #B43740 #40B437
tetradic
#3740B4 #B4377E #B4AB37 #37B46C
square
#3740B4 #B4377E #B4AB37 #37B46C
split-complementary
#3740B4 #B46C37 #7EB437
monochromatic
#1A1F56 #292F85 #3740B4 #5B63CD #8A90DB

Accessibility & contrast

On white

8.22
#3740B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3740B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740B4
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740B4#FFFFFF#000000##FFFFFF
##3740B41.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3740b4;
/* rgb */ color: rgb(55, 64, 180);
/* oklch */ color: oklch(44.1% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#7e75cb',
    500: '#3740b4',
    950: '#000000',
  },
}
SCSS
$custom: #3740b4;
$custom-light: #7e75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3740b4",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 235.68,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.1809,
    "h": 272.9
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#3740B4
secondary
#C6C181
accent
#D24BDD
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3740B4

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

Preview Lab → · Contrast checker → · Palette generator →

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