#3740B2#3740B2

#3740B2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.178 H 273.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3740B2
RGBrgb(55, 64, 178)
HSLhsl(236, 53%, 46%)
HSVhsv(236, 69%, 70%)
CMYKcmyk(69.1%, 64%, 0%, 30.2%)
CIE-LABlab(33.33, 34.24, -61.67)
CIE-LCHlch(33.33, 70.54, 299.04°)
OKLaboklab(43.91% 0.0094 -0.178)
OKLCHoklch(43.91% 0.178 273)
XYZxyz(11.4421, 7.6923, 42.9926)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740B2 #B2A937
analogous
#377DB2 #3740B2 #6B37B2
triadic
#3740B2 #B23740 #40B237
tetradic
#3740B2 #B2377D #B2A937 #37B26B
square
#3740B2 #B2377D #B2A937 #37B26B
split-complementary
#3740B2 #B26B37 #7DB237
monochromatic
#1A1E54 #292F83 #3740B2 #5A62CC #898FDB

Accessibility & contrast

On white

8.27
#3740B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3740B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740B2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740B2#FFFFFF#000000##FFFFFF
##3740B21.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3740b2;
/* rgb */ color: rgb(55, 64, 178);
/* oklch */ color: oklch(43.9% 0.178 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e75ca',
    500: '#3740b2',
    950: '#000000',
  },
}
SCSS
$custom: #3740b2;
$custom-light: #7e75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3740b2",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 235.61,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.17826,
    "h": 273
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#3740B2
secondary
#C5C080
accent
#D24CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3740B2

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

Preview Lab → · Contrast checker → · Palette generator →

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