#3741B2#3741B2

#3741B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.177 H 272.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3741B2
RGBrgb(55, 65, 178)
HSLhsl(235, 53%, 46%)
HSVhsv(235, 69%, 70%)
CMYKcmyk(69.1%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.58, 33.60, -61.27)
CIE-LCHlch(33.58, 69.88, 298.74°)
OKLaboklab(44.09% 0.0087 -0.1768)
OKLCHoklch(44.09% 0.177 272.8)
XYZxyz(11.4990, 7.8061, 43.0116)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3741B2 #B2A837
analogous
#377EB2 #3741B2 #6A37B2
triadic
#3741B2 #B23741 #41B237
tetradic
#3741B2 #B2377E #B2A837 #37B26A
square
#3741B2 #B2377E #B2A837 #37B26A
split-complementary
#3741B2 #B26A37 #7EB237
monochromatic
#1A1F54 #293083 #3741B2 #5A63CC #8990DB

Accessibility & contrast

On white

8.20
#3741B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3741B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3741B2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3741B2#FFFFFF#000000##FFFFFF
##3741B21.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3741b2;
/* rgb */ color: rgb(55, 65, 178);
/* oklch */ color: oklch(44.1% 0.177 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e75ca',
    500: '#3741b2',
    950: '#000000',
  },
}
SCSS
$custom: #3741b2;
$custom-light: #7e75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3741b2",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 235.122,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44088,
    "c": 0.17705,
    "h": 272.8
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3741B2

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

Preview Lab → · Contrast checker → · Palette generator →

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