#3740B1#3740B1

#3740B1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.177 H 273.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3740B1
RGBrgb(55, 64, 177)
HSLhsl(236, 53%, 45%)
HSVhsv(236, 69%, 69%)
CMYKcmyk(68.9%, 63.8%, 0%, 30.6%)
CIE-LABlab(33.25, 33.89, -61.21)
CIE-LCHlch(33.25, 69.97, 298.97°)
OKLaboklab(43.82% 0.0095 -0.1767)
OKLCHoklch(43.82% 0.177 273.1)
XYZxyz(11.3421, 7.6523, 42.4658)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740B1 #B1A837
analogous
#377DB1 #3740B1 #6B37B1
triadic
#3740B1 #B13740 #40B137
tetradic
#3740B1 #B1377D #B1A837 #37B16B
square
#3740B1 #B1377D #B1A837 #37B16B
split-complementary
#3740B1 #B16B37 #7DB137
monochromatic
#1A1E54 #282F82 #3740B1 #5A62CC #888EDA

Accessibility & contrast

On white

8.30
#3740B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3740B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740B1
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740B1#FFFFFF#000000##FFFFFF
##3740B11.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3740b1;
/* rgb */ color: rgb(55, 64, 177);
/* oklch */ color: oklch(43.8% 0.177 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e75c9',
    500: '#3740b1',
    950: '#000000',
  },
}
SCSS
$custom: #3740b1;
$custom-light: #7e75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3740b1",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 235.574,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43821,
    "c": 0.17692,
    "h": 273.1
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#3740B1
secondary
#C4BF80
accent
#D14CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3740B1

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

Preview Lab → · Contrast checker → · Palette generator →

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