#3740AB#3740AB

#3740AB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.169 H 273.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3740AB
RGBrgb(55, 64, 171)
HSLhsl(235, 51%, 44%)
HSVhsv(235, 68%, 67%)
CMYKcmyk(67.8%, 62.6%, 0%, 32.9%)
CIE-LABlab(32.74, 31.77, -58.47)
CIE-LCHlch(32.74, 66.54, 298.52°)
OKLaboklab(43.29% 0.0098 -0.1686)
OKLCHoklch(43.29% 0.169 273.3)
XYZxyz(10.7572, 7.4183, 39.3852)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740AB #ABA237
analogous
#377AAB #3740AB #6837AB
triadic
#3740AB #AB3740 #40AB37
tetradic
#3740AB #AB377A #ABA237 #37AB68
square
#3740AB #AB377A #ABA237 #37AB68
split-complementary
#3740AB #AB6837 #7AAB37
monochromatic
#191D4E #282F7D #3740AB #565FC9 #858BD8

Accessibility & contrast

On white

8.45
#3740AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3740AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740AB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740AB#FFFFFF#000000##FFFFFF
##3740AB1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3740ab;
/* rgb */ color: rgb(55, 64, 171);
/* oklch */ color: oklch(43.3% 0.169 273.3);
Tailwind
colors: {
  custom: {
    50: '#7c75c5',
    500: '#3740ab',
    950: '#000000',
  },
}
SCSS
$custom: #3740ab;
$custom-light: #7c75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3740ab",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 235.345,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43292,
    "c": 0.16889,
    "h": 273.3
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#3740AB
secondary
#C1BC7C
accent
#D04DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3740AB

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

Preview Lab → · Contrast checker → · Palette generator →

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