#3741B1#3741B1

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

Color values

HEX#3741B1
RGBrgb(55, 65, 177)
HSLhsl(235, 53%, 45%)
HSVhsv(235, 69%, 69%)
CMYKcmyk(68.9%, 63.3%, 0%, 30.6%)
CIE-LABlab(33.49, 33.25, -60.82)
CIE-LCHlch(33.49, 69.31, 298.67°)
OKLaboklab(44% 0.0087 -0.1755)
OKLCHoklch(44% 0.176 272.9)
XYZxyz(11.3990, 7.7661, 42.4847)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3741B1 #B1A737
analogous
#377EB1 #3741B1 #6A37B1
triadic
#3741B1 #B13741 #41B137
tetradic
#3741B1 #B1377E #B1A737 #37B16A
square
#3741B1 #B1377E #B1A737 #37B16A
split-complementary
#3741B1 #B16A37 #7EB137
monochromatic
#1A1F54 #283082 #3741B1 #5A63CC #888FDA

Accessibility & contrast

On white

8.22
#3741B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3741B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3741B1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3741B1#FFFFFF#000000##FFFFFF
##3741B11.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)
#0054B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3741b1;
/* rgb */ color: rgb(55, 65, 177);
/* oklch */ color: oklch(44.0% 0.176 272.9);
Tailwind
colors: {
  custom: {
    50: '#7e75c9',
    500: '#3741b1',
    950: '#000000',
  },
}
SCSS
$custom: #3741b1;
$custom-light: #7e75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3741b1",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 235.082,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44,
    "c": 0.17572,
    "h": 272.9
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3741B1

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

Preview Lab → · Contrast checker → · Palette generator →

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